200-710 Exam QuestionsBrowse all questions from this exam

200-710 Exam - Question 28


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

Show Answer
Correct Answer: BCDE

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

2 comments
Sign in to comment
[Removed]
Jun 20, 2020

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

pietrantonio
Jun 10, 2020

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