Created
April 23, 2021 09:06
-
-
Save jakes2255/42bf96e366e6504e859bae88461068d2 to your computer and use it in GitHub Desktop.
JS Create Object without prototypes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const obj = Object.create(null); | |
console.log(obj.__proto_ === null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description included.