(it)
| 716 | ? Object.getOwnPropertyNames(window) : []; |
| 717 | |
| 718 | var getWindowNames = function(it){ |
| 719 | try { |
| 720 | return getNames(it); |
| 721 | } catch(e){ |
| 722 | return windowNames.slice(); |
| 723 | } |
| 724 | }; |
| 725 | |
| 726 | module.exports.get = function getOwnPropertyNames(it){ |
| 727 | if(windowNames && toString.call(it) == '[object Window]')return getWindowNames(it); |