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

Clarification On The Inability Of Javascript Deleting Inherited Properties.

guys. I'm studying up on properties for objects and one thing caught my eye on a source of info… Read more Clarification On The Inability Of Javascript Deleting Inherited Properties.

Passing Octal Value To New Number Function

I've made something like : Number.prototype.foo = function () { //code } // Octal number! … Read more Passing Octal Value To New Number Function

Javascript Prototype

I AM trying to understand js prototype property: my sample code function Container(param) { thi… Read more Javascript Prototype

What Are Pitfalls Of Extending Object.prototype?

I want to extend Object.prototype, to basically support notifications in JSON data and html element… Read more What Are Pitfalls Of Extending Object.prototype?

Javascript: Modify Prototype Of An Object's Variable?

Here is an object: var obj = new function(){ this.prop = {}; } and I try to do something like:… Read more Javascript: Modify Prototype Of An Object's Variable?

Proto Inheritance From ES6 Class

I have an old codebase full of subclasses of a some external class, using prototypal inheritance. R… Read more Proto Inheritance From ES6 Class