Elance Exams Answers PDF file

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

How can I get sum to be the sum of this array, var arr = [0,1,2,3]?

var sum = arr.sum()
var sum = arr.reduce(function(a,b){ return a + b });
var sum = Math.sum(arr)
var sum = arr.walk(function(a,b){ return a + b});
var sum = 0 + 1 + '2' + 3;
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon