Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
JS Create Object without prototypes
const obj = Object.create(null);
console.log(obj.__proto_ === null);

This comment has been minimized.

Copy link
Owner Author

@jakes2255 jakes2255 commented Apr 23, 2021

Description included.

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