Java Script Quiz2

1. What is the syntax for defining a function in JavaScript?

 
 
 

2. Which of the following is not a valid variable name in JavaScript?

 
 
 

3. What is a function in JavaScript?

 
 
 

4. Which symbol is used to call a function in JavaScript?

 
 
 

5. Which keyword is used to define a function in JavaScript?

 
 
 

6. Which symbol is used to concatenate strings in JavaScript?

 
 
 

7. What is a parameter in JavaScript?

 
 
 

8. Which statement is used to return a value from a function in JavaScript?

 
 
 

9. Which statement is used to delete a variable?

 
 
 

10. Which statement is used to check if a variable is undefined?

 
 
 

Question 1 of 10

Scroll to Top