js - guia : prototype, escopo e performance