Skip to content

Instantly share code, notes, and snippets.

View jimmycuadra's full-sized avatar
☠️
GitHub profits from the separation of families and the deaths of children.

jimmycuadra

☠️
GitHub profits from the separation of families and the deaths of children.
View GitHub Profile
@jimmycuadra
jimmycuadra / beget.js
Created September 6, 2012 19:33 — forked from ClayShentrup/beget.js
Beget question (prototypal inheritance)
function beget(parent, child) {
// Add code here to make test() return true.
}
function test(){
var c;
function Parent() {
throw 'exception';
}