This is a makeshift substitute voidto avoid an expression returning a value.
window.open will return a link to an open window, and this may lead to unexpected results.
For example, try pasting javascript:a=1in the address field - this will lead to a blank screen with the number 1 in it, because the default browser will try to use the result of any expression that starts as a new document.
, javascript:void(a=1), void , .
donothing(foo=bar) Function.prototype(foo=bar) , void .
, void , , , javscript: ( ).