Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
What do you predict these expressions will return? Fun with undefined and Object.keys
Object.keys(undefined)
undefined + {}
Object.keys(undefined + {})
(undefined + {})[Object.keys(undefined + {})[23]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment