in this case, it does not mean anything and anything could have happened instead. We need it here to trigger the operator comma .
With this application of the comma operator, you can get a link to the method detached from the current context and when you call it, the global context will be used. In this case, window .
That is, the record in the question is equivalent to the following
var unescape = window.unescape; var n = unescape("something");
Given that in this case, the function will always be called in a global context, there is no point in doing this and you can get by with the usual call
var n = window.unescape("somestring");
Example when it makes sense
var a = { func: function() { console.log('eval context is window: ', (0, eval)("this") === window); console.log('eval context is current object: ', eval("this") === a); }, func1: function() { console.log('context: ', this.toString()); } } a.func(); (1, a.func1)(); (a.func1)();