Top "Prototypal-inheritance" questions

Prototype inheritance reuses behavior by cloning existing objects that serves as prototypes.

Node.js / Express.js - How to override/intercept res.render function?

I'm building a Node.js app with Connect/Express.js and I want to intercept the res.render(view, option) …

javascript node.js express connect prototypal-inheritance
Extending the defaults of a Model superclass in Backbone.js

I would like to pose this as a question to this answer but I can't seem to do so, I …

javascript backbone.js prototypal-inheritance
Performing inheritance in JavaScript

Now while I know that you can not perform inheritance like you would in C#, I have seen it mentioned …

javascript inheritance extjs prototypal-inheritance
Check if a constructor inherits another in ES6

I have a situation where I need to check if a constructor (X) has another constructor (Y) in its prototype …

javascript ecmascript-6 prototypal-inheritance
How do I inherit javascript functions ?

// Don't break the function prototype. // pd - https://github.com/Raynos/pd var proto = Object.create(Function.prototype, pd({ "prop": 42 })); …

javascript oop function inheritance prototypal-inheritance
Javascript function using "this = " gives "Invalid left-hand side in assignment"

I am trying to get a JavaScript object to use the "this" assignments of another objects' constructor, as well as …

javascript oop inheritance prototype-programming prototypal-inheritance
Extending core types without modifying prototype

How does one extend core JavaScript types (String, Date, etc.) without modifying their prototypes? For example, suppose I wanted to …

javascript prototypal-inheritance
How do you remove a method from a javascript type

I have a bit of javascript that runs on a 3rd party's website which requires me to temporarily add a …

javascript prototypal-inheritance