StackOverflow Questions for Tag: prototypal-inheritance

Ran Turner
Ran Turner

Reputation: 18116

Object.hasOwn() vs Object.prototype.hasOwnProperty()

Score: 45

Views: 26638

Answers: 1

Read More
Chor
Chor

Reputation: 991

What is the purpose of o1.constructor = subType?

Score: 0

Views: 27

Answers: 0

Read More
sliptype
sliptype

Reputation: 2974

Why does a string literal value have properties according to `hasOwnProperty`, but not according to the `in` operator?

Score: 3

Views: 244

Answers: 1

Read More
Blue Nebula
Blue Nebula

Reputation: 1174

Giving a type to polymorphic static methods used as public constructors

Score: 1

Views: 49

Answers: 1

Read More
copenndthagen
copenndthagen

Reputation: 50760

JavaScript prototype property and prototype link

Score: 1

Views: 379

Answers: 1

Read More
d13
d13

Reputation: 10077

Creating new objects from frozen parent objects

Score: 24

Views: 9042

Answers: 5

Read More
Aayla Secura
Aayla Secura

Reputation: 475

Prototype assignment within a factory in order to achieve private field handling versus constructor and private state without prototypal methods

Score: 0

Views: 57

Answers: 1

Read More
sayandcode
sayandcode

Reputation: 3214

Why is the __proto__ of Object.prototype, another Object.prototype?

Score: 8

Views: 857

Answers: 1

Read More
LeoPkm2-1
LeoPkm2-1

Reputation: 188

Why does TS allow interface multiple inheritance?

Score: 2

Views: 284

Answers: 3

Read More
James Cadd
James Cadd

Reputation: 12216

Why does Function have both implicit and explicit prototype references, and can I set the implicit reference?

Score: 6

Views: 1908

Answers: 2

Read More
Sugarpearl
Sugarpearl

Reputation: 105

Are these inherited properties?

Score: 2

Views: 528

Answers: 2

Read More
Andrea
Andrea

Reputation: 20493

How to imitate prototypal programming in Python?

Score: 16

Views: 5836

Answers: 5

Read More
htho
htho

Reputation: 1799

Add event handlers like "onclick" or "onchange" as public class field on a customized built-in element

Score: 0

Views: 48

Answers: 1

Read More

How can an instance of an ES6 class be made callable?

Score: 2

Views: 125

Answers: 3

Read More
0x90
0x90

Reputation: 41002

What is the difference between `.prototype` and `.__proto__`?

Score: 1009

Views: 303644

Answers: 33

Read More
noSelf_
noSelf_

Reputation: 29

Is there a way to define a static property or method using the OLOO pattern or factory function pattern?

Score: -1

Views: 76

Answers: 2

Read More
Vsevolod IV
Vsevolod IV

Reputation: 121

What is the correct way to inherit from a prototype?

Score: 0

Views: 38

Answers: 1

Read More
eAbi
eAbi

Reputation: 3470

Convert javascript class instance to plain object preserving methods

Score: 31

Views: 48718

Answers: 8

Read More
bharadhwaj
bharadhwaj

Reputation: 2139

Multiple prototypical inheritance in Javascript

Score: 1

Views: 130

Answers: 1

Read More
Alex Reisner
Alex Reisner

Reputation: 29467

Good Example of JavaScript's Prototype-Based Inheritance

Score: 89

Views: 87455

Answers: 11

Read More
PreviousPage 1Next