Question:Which is the correct way to write a JavaScript array? 

A var txt = new Array(1:"arr",2:"kim",3:"jim") 

B var txt = new Array:1=(" arr ")2=("kim")3=("jim") 

C var txt = new Array("arr ","kim","jim") 

D var txt = new Array=" arr ","kim","jim" 

+ Answer
+ Report
Total Preview: 5540

Copyright © 2024. Powered by Intellect Software Ltd