diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp index 1a0a59721f..3c2e3a8eb4 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp @@ -62,7 +62,7 @@ BigInt* system_utc_epoch_nanoseconds(GlobalObject& global_object) clock_gettime(CLOCK_REALTIME, &now); Checked ns_timestamp; ns_timestamp += now.tv_sec; - ns_timestamp *= 1000000000; + ns_timestamp *= 1'000'000'000; ns_timestamp += now.tv_nsec; if (ns_timestamp.has_overflow()) { // TODO: Deal with this before 2262-04-21T00:47:16Z.