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
Geography,
7 months ago
English,
7 months ago
India Languages,
7 months ago
Computer Science,
1 year ago