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
What is escape() function?
What are undeclared and undefined variables?
What is a method in javascript?
When do we use JSON.stringify()?
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
how to validate the date(dd/mm/yyyy)using regular expression in javascript? It should also satisfy the leap year feb 29 problem. Please help me.
Write a way by which you can do something on the close of the window ?
How to add multiple functions in javascript?
Is javascript open source?
What is the difference between .call() and .apply()?
What is this? Var myarray = [[[]]];
How do you submit a form using JavaScript?
Explain the working of timers in javascript?
What is the use of blur function in JavaScript?
What is output of “20” + 20? In javascript?