Exam 200-710 All QuestionsBrowse all questions from this exam
Question 28

Which of the following are valid code snippets? (Choose three.)

    Correct Answer: B, D, E

    Valid function names can start with a letter, underscore, or dollar sign but cannot start with a number which makes option A invalid. Option B is valid since function names can start with an underscore. Option C is invalid because 'object' is a reserved keyword in many programming languages. Option D is valid because variable names can start with a dollar sign. Option E is valid because variable names can also start with an underscore.

Discussion
[Removed]

B. should be like this : function _4You(){}

pietrantonio

I think B is wrong like that. maybe with a function keyword before...