How can I define an array in JavaScript?
Answer Posted / hiren b garasia
4.dense method:
ex: var days=new
Array('Mon','Tue','Wed','Thus','Fri','Sat','Sun');
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
Explain unescape() and escape() in javascript?
How to write hello world on the web page?
What is the difference between an array and an object?
Name the types of functions.
What is a reverse string?
What is the default scope in javascript?
Explain how to write class methods vs. Instance methods.
What is output of undefined * 2 in javascript?
What is the importance of javascript?
How to calculate fibonacci numbers in javascript?
java pgm for compare two vesion and print the greatest version on the console. e.g: like 1.4.2 and 1.5.2 biggest is 1.5.2 1.2.5 and 1.2.8 biggest is 1.2.8
what data type javascript supports?
How will you explain closures in javascript? When are they used?
What is the need of javascript?
What is an immediately-invoked function expression?