Asked 7 years ago
11 Jan 2017
Views 1331
yogi

yogi posted

__proto__ VS prototype in JavaScript

What are the differences between __proto__ and prototype properties ?
Mitul Dabhi

Mitul Dabhi
answered Nov 30 '-1 00:00

object in JavaScript , inherit method and properties from Object.prototype

__porto__ is property of Object.prototype


var p = {};
a.prototype.__proto__ = p;
Post Answer