题目内容

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

A. JavaScript variable names are case sensitive.
B. JavaScript variable names should not start with a numeral (0-9).
C. Both of the above.

查看答案
更多问题

Which of the following is correct about JavaScript?

A. JavaScript is a lightweight, interpreted programming language.
B. JavaScript has object-oriented capabilities that allows you to build interactivity into otherwise static HTML pages.
C. The general-purpose core of the language has been embedded in Netscape, Internet Explorer, and other web browsers.
D. All of the above.

What is the symbol(s) to comment out one line in JavaScript?

A. //This is a comment
B. **This is a comment
C. %% This is a comment
D. ** This is a comment **

Which of the following is a valid type of function javascript supports

A. named function
B. anonymous function
C. Both of the above
D. None of the above

When we use function and onClick event as example is it must to use