InterviewSolution
Saved Bookmarks
| 1. |
The “var” and “function” are __________(a) Keywords(b) Declaration statements(c) Data types(d) PrototypesI got this question by my college professor while I was bunking the class.This question is from Statements in portion Lexical Structures of JavaScript |
|
Answer» CORRECT answer is (b) DECLARATION statements The explanation is: The var and function are declaration statements—they declare or define variables and functions. These statements define identifiers (variable and function names) that can be USED elsewhere in your PROGRAM and ASSIGN values to those identifiers. |
|