Skip to content
Latest: Publish JavaScript Packages to NPM Like a Pro!

Edit It: Does the new keyword make objects inherit a function's prototype?

Home>Default Function Properties>Edit It: Does the new keyword make objects inherit a function's prototype?

Edit It: Does the new keyword make objects inherit a function's prototype?

This code shows that the new keyword makes objects inherit a function's prototype.

See it on StackBlitz