function Person(a, b={}) { /*code*/ } /*now, if you leave b blank, b will be {} rather than undefined*/