On Javascript every object will delegate to its prototype on failed lookups. In other words, If an object doesn't have a prop or method, then check its prototype.
Top comments (0)
Subscribe
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (0)