diff options
author | Linus Groh <mail@linusgroh.de> | 2022-03-25 18:33:55 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-03-25 18:33:55 +0000 |
commit | a5ea0666930870b3d37f31e349893d378ef2eee5 (patch) | |
tree | b292b3f871be51046f697b136ae8f185720c02e7 /Userland/Libraries/LibCpp/AST.cpp | |
parent | 9950f06623d1e27442397bb3e4f1762b3ad28242 (diff) | |
download | serenity-a5ea0666930870b3d37f31e349893d378ef2eee5.zip |
LibJS: Fix number types in GetISOPartsFromEpoch
This is an editorial change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/c5b645d
This means we now have to pass a global object and construct a BigInt
object just for the assertion, but oh well. We might want to have an
assertion macro that's optimized away in release builds at a later
point, however.
Diffstat (limited to 'Userland/Libraries/LibCpp/AST.cpp')
0 files changed, 0 insertions, 0 deletions