Skip to content

Instantly share code, notes, and snippets.

@jakes2255
Created April 23, 2021 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakes2255/42bf96e366e6504e859bae88461068d2 to your computer and use it in GitHub Desktop.
Save jakes2255/42bf96e366e6504e859bae88461068d2 to your computer and use it in GitHub Desktop.
JS Create Object without prototypes
const obj = Object.create(null);
console.log(obj.__proto_ === null);
@jakes2255
Copy link
Author

Description included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment