Why does void in JavaScript require an argument?
Answers
Answered by
0
Why does void in Javascript require an argument? From what I understand, the keyword void in Javascript is some kind of function that takes one argument and always returns the undefined value. For some reason you need to pass it an argument; it won't work without one.
Similar questions