题目内容

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