Skip to content

Instantly share code, notes, and snippets.

View cjk's full-sized avatar
💭
I may be slow to respond.

Claus Klingberg cjk

💭
I may be slow to respond.
View GitHub Profile
// Requires node v0.1.100 or a browser with console
function newShape(x, y) {
return {
toString: function () {
return 'Shape at ' + x + ', ' + y;
}
};
}