Skip to content

Instantly share code, notes, and snippets.

Oliver Nightingale olivernn

  • Cape Town
View GitHub Profile
View gist:465295
/* Javascript classes, prototypes and method visibility
--------------------------------------------------------------*/
// Simple, prototype-less class
var Makoto = function(name){
function privateMethod(){
return 1;
}
You can’t perform that action at this time.