1 2 3 4 5 6 7 8
define( function() { "use strict"; return function isWindow( obj ) { return obj != null && obj === obj.window; }; } );