JavaScript Object constructor Property