Difference between __proto__ and Prototype in JavaScript | Well explained | Astute Js

Veröffentlicht am: 16 September 2017
auf dem Kanal: Astute JS
9,354
64

https://jsfiddle.net/sathishkrcs/67q6...

prototype is a property of a Function object. It is the prototype of objects constructed by that function.

_proto_ is internal property of an object, pointing to its prototype. Current standards provide an equivalent Object.getPrototypeOf(O) method, though de facto standard _proto_ is quicker.

You can find instanceof relationships by comparing a function's prototype to an object's _proto_ chain, and you can break these relationships by changing prototype.

https://stackoverflow.com/questions/9...


Auf dieser Seite können Sie das Online-Video Difference between __proto__ and Prototype in JavaScript | Well explained | Astute Js mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Astute JS 16 September 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 9,354 Mal angesehen und es wurde von 64 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!