adplus-dvertising
frame-decoration

Question

Which of the following is true about variable naming conventions in JavaScript?

a.

You should not use any of the JavaScript reserved keyword as variable name.

b.

JavaScript variable names should not start with a numeral (0-9).

c.

Both of the above.

d.

None of the above.

Posted under Web Technologies

Answer: (c).Both of the above.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is true about variable naming conventions in JavaScript?

Similar Questions

Discover Related MCQs

Q. Which of the following is the correct syntax to redirect a url using JavaScript?

Q. Which built-in method returns the character at the specified index?

Q. Which of the following function of String object returns a number indicating the Unicode value of the character at the given index?

Q. Which of the following function of String object executes the search for a match between a regular expression and a specified string?

Q. Which of the following function of String object returns the calling string value converted to upper case while respecting the current locale?

Q. Which of the following is a valid type of function javascript supports?

Q. How can you get the type of arguments passed to a function?

Q. Which of the following function of Array object removes the first element from an array and returns that element?

Q. ....................... is a built - in JavaScript function which can be used to execute another function after a given time interval.

Q. Java Script entities start with ___________and end with _____________.

Q. Which of the following is a server-side Java Script object?

Q. Javascript is _________ language.

Q. JavaScript is ______ Side Scripting Language.

Q. JavaScript is designed for following purpose -

Q. Cost for Using JavaScript in your HTML is _________ .

Q. JavaScript Code is written inside file having extension __________.

Q. Why JavaScript is called as Lightweight Programming Language ?

Q. Local Browser used for validations on the Web Pages uses __________.

Q. State the correct place of JS Code inside HTML -

Q. Which of the following Attribute is used to include External JS code inside your HTML Document ?