You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No it is not a bug. global mirrors global.global, and when you define global.global to a setter-only property, global cannot be read anymore, and typeof naturally returns 'undefined'.
Activity
TimothyGu commentedon May 14, 2017
No it is not a bug.
globalmirrorsglobal.global, and when you defineglobal.globalto a setter-only property,globalcannot be read anymore, andtypeofnaturally returns'undefined'.macsmac commentedon May 14, 2017
Forget to say: defineProperty throws error "defineProperty called on non-object". We will log key.
It logs
macsmac commentedon May 14, 2017
Actually got it, because first key is global we defineProperty on it without getter and it becomes undefined and next key cannot be defined