2017-03-11 05:30:07 -05:00

11 lines
239 B
JavaScript

DEBUG = typeof DEBUG === 'undefined' ? false : DEBUG;
ASSERT = typeof ASSERT === 'undefined' ? false : ASSERT;
module.exports.now = function() {
return Date.now();
}
module.exports.diff = function(time) {
return Date.now() - time;
}