Closed grabus closed 6 years ago
IIFE which returns this, returns global object. if it is node, global object is not window. but in node, we can create window and add it to global object. so, browser and node may have window property.
this
window
p.s. I need baron in node for tests.
Good point!
Published as baron@3.0.1.
@Diokuz so fast! thanks :)
IIFE which returns
this
, returns global object. if it is node, global object is notwindow
. but in node, we can createwindow
and add it to global object. so, browser and node may havewindow
property.p.s. I need baron in node for tests.