Elance Exams Answers PDF file

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

You want a dictionary-like data object such that you can give it the word to look up and it gives you the definition. Which of the following would create such an object and log a look-up to the console?

var dictionary = array("cat" => "domestic pet known for attitude", "dog" => "domestic pet known for loyalty", "fish" => "aquatic animal sometimes made a domestic pet"); console.log( diction
var dictionary = {"cat" : "domestic pet known for attitude", "dog" : "domestic pet known for loyalty", "fish" : "aquatic animal sometimes made a domestic pet"}; console.log( dictionary.dog );
var dictionary = new Array("cat" : "domestic pet known for attitude", "dog" : "domestic pet known for loyalty", "fish" : "aquatic animal sometimes made a domestic pet"); console.log( dictionary["
var dictionary = ["cat" : "domestic pet known for attitude", "dog" : "domestic pet known for loyalty", "fish" : "aquatic animal sometimes made a domestic pet"]; console.log( dictionary["dog"
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon