which best describe void?
-
method
-
function
-
statement
-
operator
D
Correct answer
Explanation
void is a unary operator in JavaScript that evaluates its expression and returns undefined. It is not a method, function, or statement - it's specifically an operator used when you want to execute a side effect without returning a value.