# 🔉 proto

1 min read, 82 words proto

# 👁‍🗨 What the hell is proto ?

javascript uses prototype inheritance as opposed to classical inheritance used in other traditional programming languages

__proto__ is the actual object that is used in the lookup chain to resolve methods, etc. prototype is the object that is used to build __proto__ when you create an object with new.

javascript __proto__

Destructuring

const { length } = "A string";
console.log(length);
// 8

# References

Subscribe to our Newsletter

If you like my work and think it was helpful kindly support my work


Buy Me A Coffee