What gets assigned by default to an uninitialized array element in JavaScript?
Select one
a. NaN
b undefined
c null
d FALSE
Answers
Answered by
2
Answer:
ALL THESE OPTIONS ARE WRONG
BUT I AM CHOOSING FALSE
BUT THE CORRECT ANSWER:
From the Java Language Specification: Each class variable, instance variable, or array component is initialized with a default value when it is created (§15.9, §15.10): For type byte, the default value is zero, that is, the value of (byte)0 . For type short, the default value is zero, that is, the value of (short)0 .
SÕŪMYÅ HÉRË TØ HĒLP♠♪♥♦♣
HØPÈ ÏT HÊLPS ♠♦♠
Similar questions