K
Q. The “var” and “function” are __________.
var is used to declare variables.
Both are declaration statements because they define variables and functions before execution.
Example:
var x = 10; // Variable declaration
function greet() { // Function declaration
console.log("Hello!");
}
Why Not Other Options?
You must be Logged in to update hint/solution
Q. Which of the following frameworks focuses on DOM and Ajax utilities?
Q. If the operator value is null, then the unary operator returns the typeof _________.
Q. Variable can hold ________ value at a time.
Q. The let keyword can be used
Q. Where does the DNS Lookup direct to ?
Q. In the JavaScript, which one of the following is not considered as an error:
Q. Which keyword is used to define a JavaScript function?
Discusssion
Login to discuss.