Which of the following are valid identifiers? (Choose 3)

Which of the following are valid identifiers? (Choose 3)
A . function 4You () {}
B . function_ 4You () {}
C . function object () {}
D . $1 = "Hello";
E: $ 1 = "Hello World";

Answer: B, C, E

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
Gest
Gest
5 years ago

Error in question

A. function 4You() { }
B. function _4You() { }
C. function object() { }
D. $1 = “Hello”;
E: $_1 = “Hello World”;