You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-02-28 09:48:09
Correct way for writing Java Script array
Question:
Which of the following is the correct way for writing Java Script array?
Option A):
var salaries = new Array() values=39438,39839,83729
Option B):
var salaries = new Array( 1:39438, 2:39839 3:83729)
Option C):
var salaries = new (Array:1=39438, Array:2=39839, Array:3=83729)
Option D):
var salaries = new Array(39438,39839,83729)
Correct Answer is Option D):
var salaries = new Array(39438,39839,83729)
Failure is the first step towards seccess.
Offline
2015-02-28 09:48:09
- Advertisement
- Ads By Google
Re: Correct way for writing Java Script array
\n