What Does JavaScript:Void(0) Mean? - freeCodeCamp.org
https://www.freecodecamp.org/news/what-does-javascript-void-operator-do/
WebJan 3, 2020 · JavaScript’s void operator evaluates an expression and returns undefined. You can use the console to verify the same: Note: void, irrespective of any value passed along, *always returns undefined as shown above*. But, void with the operand 0 is preferred. There are two ways of using operand 0: void(0) or void 0. Either of them is fine.
DA: 36 PA: 55 MOZ Rank: 80