Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain unescape() and escape() in javascript?

912


How to write hello world on the web page?

885


What is the difference between an array and an object?

933


Name the types of functions.

893


What is a reverse string?

950


What is the default scope in javascript?

839


Explain how to write class methods vs. Instance methods.

932


What is output of undefined * 2 in javascript?

886


What is the importance of javascript?

876


How to calculate fibonacci numbers in javascript?

950


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

1958


what data type javascript supports?

921


How will you explain closures in javascript? When are they used?

933


What is the need of javascript?

909


What is an immediately-invoked function expression?

849