1. What is the correct way to write a JavaScript array?
2. Which event occurs when the user clicks on an HTML element?
3. How do you declare a JavaScript variable?
4. Javascript is
5. Which of the following is true regarding JavaScript?
1 b
var colors = ["red", "green", "blue"]
2 a ) onclick
3 b var carName;
4 a A client-side scripting language that is interpreted by the browser
5 JavaScript runs directly inside the browser without the need for the JVM
1. What is the correct way to write a JavaScript array? var colors = (1:"red", 2:"green",...