Skip to content Skip to sidebar Skip to footer
Showing posts with the label Prototype

"value Below Was Evaluated Just Now", What Does It Mean?

Folks! I am trying to list down what happens behind the scenes when new keyword is used to create a… Read more "value Below Was Evaluated Just Now", What Does It Mean?

Difference Between Classical Inheritance And Prototype Inheritance

I found this definition here : https://medium.com/javascript-scene/10-interview-questions-every-jav… Read more Difference Between Classical Inheritance And Prototype Inheritance

What's Wrong With This Style Of Coding Javascript? (closures Vs. Prototypes)

We have been debating how best to handle objects in our JS app, studying Stoyan Stefanov's book… Read more What's Wrong With This Style Of Coding Javascript? (closures Vs. Prototypes)

Javascript Setting Object Properties With Value Type In The Prototype?

I always have set properties with a value type in the prototype of the object as this stops them ha… Read more Javascript Setting Object Properties With Value Type In The Prototype?

Javascript: Should I Be Hiding My Implementations?

As a C# programmer, I have a bit of a habit of making things private that can and should be private… Read more Javascript: Should I Be Hiding My Implementations?

Global Prototypes For Big Solutions (javascript/node)

Is there any best practice to write prototypes for classes like Array, Number, etc. for global scop… Read more Global Prototypes For Big Solutions (javascript/node)