Skip to content

Instantly share code, notes, and snippets.

View gryzzly's full-sized avatar

Misha Reyzlin gryzzly

View GitHub Profile
@gryzzly
gryzzly / JavaScript-custom-types-mechanics.js
Last active October 11, 2015 18:38 — forked from sym3tri/JavaScript-new-operator.js
How JavaScript OOP works
// constructor definition
var Foo = function() {
// when invoked with `new` it's as if the following implicitly happens
// this = { constructor: Foo };
// return this;
};
// For every function, `prototype` property is created automatically:
Foo.hasOwnProperty('prototype') // true
@gryzzly
gryzzly / otsbjs.md
Created May 25, 2012 14:29 — forked from janl/otsbjs.md
Open Tech School Berlin JS

In the spirit of Railsgirls Berlin, we want to start a programming education group for JavaScript. We need your help to get all the coaching done.

If you are interested in coaching JavaScript, fork this gist and add yourself or leave your contact data in a comment: