Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create arrays in javaScripts?
#3
Array literal syntax: var stringArray = ["one", "two", "three"]; Array constructor syntax: var numericArray = new Array(3); A single array can store values of different data types. An array elements (values) can be accessed using zero based index (key).
Reply


Messages In This Thread
How to create arrays in javaScripts? - by Kajal - 06-07-2017, 12:19 PM
RE: How to create arrays in javaScripts? - by RH-Calvin - 07-15-2020, 11:52 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Why are arrays usually processed with for loop? beingchinmay 0 2,893 03-10-2016, 05:38 PM
Last Post: beingchinmay
  I need to learn how to create a php base chatting site chamara20 3 7,367 04-20-2014, 07:14 PM
Last Post: Raiden

Forum Jump:


Users browsing this thread: 1 Guest(s)