Skip to content

Instantly share code, notes, and snippets.

@idrm
idrm / imoment
Created November 26, 2014 14:28
Create imoment, an immutable version of moment.js.
;(function() {
var moment = this.moment;
var IMoment = function(m) {
this._m = m;
};
var m = moment();