{"ScriptPreparationCode":"var d = new Date(\u0060Mon Jul 02 2018 18:13:58 GMT\u002B1000\u0060);\r\nvar m = moment(d);\r\nvar result = undefined;","TestCases":[{"Name":"Moment diff to moment d","Code":"result = moment().diff(moment(d), \u0027hours\u0027);","IsDeferred":false},{"Name":"Moment new Date diff to moment d","Code":"result = moment(new Date()).diff(moment(d), \u0027hours\u0027);","IsDeferred":false},{"Name":"Moment Date.now diff to moment d","Code":"result = moment(Date.now()).diff(moment(d), \u0027hours\u0027);","IsDeferred":false},{"Name":"Moment diff to precreated moment","Code":"result = moment().diff(m, \u0027hours\u0027);","IsDeferred":false},{"Name":"e","Code":"result = moment(Date.now()).diff(m, \u0027hours\u0027);","IsDeferred":false},{"Name":"Date.now minus date, division","Code":"result = (Date.now() - d) / 36e5;","IsDeferred":false},{"Name":"moment Date.now diff to existing m","Code":"result = moment(Date.now()).diff(m, \u0027hours\u0027);","IsDeferred":false},{"Name":"New Date() minus date, division","Code":"result = (new Date() - d) / 36e5;","IsDeferred":false},{"Name":"Moment diff to moment d, divide time","Code":"result = moment().diff(m) / 36e5;","IsDeferred":false},{"Name":"Math with moment and existing moment","Code":"result = (moment() - m) / 36e5;","IsDeferred":false},{"Name":"Math with Date.now and moment","Code":"result = (Date.now() - m) / 36e5;","IsDeferred":false},{"Name":"Math with new Date and m.toDate","Code":"result = (new Date() - m.toDate()) / 36e5;","IsDeferred":false},{"Name":"Math with new Date and m","Code":"result = (new Date() - m) / 36e5;","IsDeferred":false},{"Name":"Math with Date.now and existing moment toDate","Code":"result = (Date.now() - m.toDate()) / 36e5;","IsDeferred":false}]}