mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 18:00:16 +00:00
LibJS: Add BigInt
This commit is contained in:
parent
40829b849a
commit
0ff9d7e189
Notes:
sideshowbarker
2024-07-19 05:46:23 +09:00
Author: https://github.com/linusg
Commit: 0ff9d7e189
Pull-request: https://github.com/SerenityOS/serenity/pull/2509
Reviewed-by: https://github.com/alimpfard
32 changed files with 1910 additions and 636 deletions
9
Libraries/LibJS/Tests/BigInt.asUintN.js
Normal file
9
Libraries/LibJS/Tests/BigInt.asUintN.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
load("test-common.js");
|
||||
|
||||
try {
|
||||
assert(BigInt.asUintN.length === 2);
|
||||
|
||||
console.log("PASS");
|
||||
} catch (e) {
|
||||
console.log("FAIL: " + e);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue