Open in app
Charles Stover
2.7K Followers
About

Sign in

2.7K Followers
About
Open in app
Charles Stover

Charles Stover

Jun 14, 2019·1 min read

Objects instantiated without a prototype (Object.create(null)) do not have a hasOwnProperty method. The former will always work, while the latter will only work on objects with an Object prototype and without a custom hasOwnProperty implementation.

Charles Stover

Senior front end engineer / charlesstover.com

What would be the difference between this?
1

Luis Troya

More from Charles Stover

Senior front end engineer / charlesstover.com

More From Medium

Optimal VS Code settings

Charles Stover

Use the React context API instead of mocking in unit tests

Charles Stover

Snapshot testing does not work in practice

Charles Stover

Unit test your implementation of third party libraries

Charles Stover

How to Apply Dark Mode to AWS UI Components

Charles Stover

Replacing let with const

Charles Stover

How to Apply Your Brand’s Theme to AWS UI Components

Charles Stover

Write actionable backlog items

Charles Stover

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store