Which is the correct way to write a JavaScript array?
A) var txt = new Array(1:"tim",2:"kim",3:"jim")
B) var txt = new Array:1=("tim") 2=("kim") 3=("jim")
C) var txt = new Array("tim","kim","jim")
D) var txt = new Array="tim","kim","jim"
Correct Answer:
Verified
Q4: Which of the following way can be
Q5: Inside which HTML element do we put
Q6: What is the correct syntax for referring
Q7: Which types of image maps can be
Q8: Which of the following navigator object properties
Q10: What does the <noscript> tag do?
A)Enclose text
Q11: If para1 is the DOM object for
Q12: JavaScript entities start with _ and end
Q13: Which of the following best describes JavaScript?
A)a
Q14: Choose the server-side JavaScript object?
A)FileUpLoad
B)Function
C)File
D)Date
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents