2
0
miroir de https://github.com/cderche/greenlock-storage-s3 synchronisé 2025-07-05 15:46:31 +00:00
2019-05-08 12:19:12 +01:00

10 lignes
253 B
JavaScript

module.exports = {
//provide realtime clock for performance measurement
now: function now() {
if (typeof performance !== 'undefined' && typeof performance.now === 'function') {
return performance.now();
}
return Date.now();
}
};