Skip to content

Instantly share code, notes, and snippets.

View olivernn's full-sized avatar

Oliver Nightingale olivernn

View GitHub Profile
/* Javascript classes, prototypes and method visibility
--------------------------------------------------------------*/
// Simple, prototype-less class
var Makoto = function(name){
function privateMethod(){
return 1;
}