Answer Posted / anurag sharma
loning is a process to copying all fields from one
object
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Difference between window, document, and screen in Javascript?
What is javascript in simple terms?
Which built-in method sorts the elements of an array?
Why is object naming important to use in javascript?
What is the use of a date object in javascript?
What are all the types of Pop up boxes available in JavaScript?
What is enum in javascript?
What does trim stand for?
What are the data types available in javascript? Explain
How can javascript language be separated from objects?
How to create an input box?
What are the Non-primitive data types in JavaScript?
Does javascript support foreach loop?
What is missing in my code? function numberTally(numList) { var evenTotal = 0; var oddTotal = 0; for (var i = 0; i <= numList.length; i++) { if i % 2 { // i is odd oddTotal += numList[i]; // or oddTotal = oddTotal + numList[i]; } else { // i is even evenTotal + numList[i]; } } alert(oddTotal); return evenTotal; }
Which built-in method returns the character at the specified index?