Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers
elance-zoho-creator-exam.pdf

Which is the correct syntax for declaring an object literal?

var person = ["firstName", "lastName", "age", "eyeColor"];
var person = [firstName:"John", lastName:"Doe", age:50, eyeColor:"blue"];
var person = {firstName:"John", lastName:"Doe", age:50, eyeColor:"blue"};
var person = [firstName, lastName, age, eyeColor];
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon