This commit is contained in:
Jeff Parsons 2015-01-07 20:48:25 -08:00 committed by jeffpar
commit 7b160f296b
3 changed files with 78 additions and 80 deletions

View file

@ -87,9 +87,7 @@ usr.binaryInsert = function(a, v, fnCompare) {
*
* @return {number} the current time, in milliseconds
*/
usr.getTime = function() {
return Date.now() || +new Date();
};
usr.getTime = Date.now || function() { return +new Date(); };
/**
* getTimestamp()