Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

How would you iterate over the following object? var my_data = {a: 'Ape', b: 'Banana', c: 'Citronella'};

foreach (my_data as key => value) {}
None of these because you can only iterate over arrays, not objects
for (var i = 0; i < my_data.length; i++) {}
for (var key in my_data) {}
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon