What is array in javascript?
No Answer is Posted For this Question
Be the First to Post Answer
What is the output of below code var car = new Vehicle("Honda", "white", "2010", "UK"); console.log(car); function Vehicle(model, color, year, country) { this.model = model; this.color = color; this.year = year; this.country = country; }
Can you assign a anonymous function to a variable?
Name the datatypes of javascript?
What data types are supported in Javascript?
What are the different ways in which we can use the link tag ? Illustrate with an example. Is it possible to link a file with another file on a different file server ? If yes, how ?
Explain the process of document loading.
Is javascript server side or client side?
what will happen and why if i will acess the methods of superclass which is declared as private by a object of same subclass.
How do I view javascript in chrome?
Is there any difference between javascript and jscript?
What is the use of history object?
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; }