The void operator evaluates the given expression and then returns undefined.
Syntax:
void expression
Returns:
undefined
Description
The void operator is often used to obtain the undefined primitive value, by means of writing void 0 or void(0). Note that void is an operator, not a functio...