diff --git a/lib/internal/fs/utils.js b/lib/internal/fs/utils.js index fc9a390f812a5e..957f65177fafe8 100644 --- a/lib/internal/fs/utils.js +++ b/lib/internal/fs/utils.js @@ -419,10 +419,10 @@ StatsBase.prototype.isSocket = function() { return this._checkModeProperty(S_IFSOCK); }; -const kNsPerMsBigInt = 10n ** 6n; -const kNsPerSecBigInt = 10n ** 9n; -const kMsPerSec = 10 ** 3; -const kNsPerMs = 10 ** 6; +const kNsPerMsBigInt = 1_000_000n; +const kNsPerSecBigInt = 1_000_000_000n; +const kMsPerSec = 1_000; +const kNsPerMs = 1_000_000; function msFromTimeSpec(sec, nsec) { return sec * kMsPerSec + nsec / kNsPerMs; }