Definir valor de parâmetro padrão
function Person(a, b={})
{
/*code*/
}
/*now, if you leave b blank, b will be {} rather than undefined*/
Javasper
function Person(a, b={})
{
/*code*/
}
/*now, if you leave b blank, b will be {} rather than undefined*/