Skip to content Skip to sidebar Skip to footer
Showing posts with the label Prototypal Inheritance

Javascript Inheritance From Multiple Objects

I'm not very well aquainted with javascript inheritance, and I'm trying to make one object … Read more Javascript Inheritance From Multiple Objects

Extending An Array Properly, Keeping The Instance Of Subclass

I've written a class trying to extend the native Javascript Array class with a custom class, le… Read more Extending An Array Properly, Keeping The Instance Of Subclass

Add Formats To Native Date Parser

I was wondering if there was any way to add (and map) formats to the native Date parser in javascri… Read more Add Formats To Native Date Parser

Will Javascript Ever Become A 'proper' Class Based Language?

I'm referring to MDN's article on JavaScript's 'future reserved words' (for use… Read more Will Javascript Ever Become A 'proper' Class Based Language?

Javascript Prototype Inheritance And Html Canvas

I'm a Ruby developer who finally decided to learn JavaScript seriously. So I purchased some boo… Read more Javascript Prototype Inheritance And Html Canvas

How Could This Be True??? Obj2.__proto__.isprototypeof(obj2) //true

Consider this short code: let obj1 = { name: 'obj1', } const obj2 = Object.create(obj1);… Read more How Could This Be True??? Obj2.__proto__.isprototypeof(obj2) //true