diff options
Diffstat (limited to 'js-runtime')
-rw-r--r-- | js-runtime/reflect.js | 1 | ||||
-rw-r--r-- | js-runtime/reflect.wasm | bin | 4260 -> 4260 bytes |
2 files changed, 1 insertions, 0 deletions
diff --git a/js-runtime/reflect.js b/js-runtime/reflect.js index 0662ea5..7ba19b7 100644 --- a/js-runtime/reflect.js +++ b/js-runtime/reflect.js @@ -360,6 +360,7 @@ class SchemeModule { #io_handler; #debug_handler; static #rt = { + bignum_from_string(str) { return BigInt(str); }, bignum_from_i32(n) { return BigInt(n); }, bignum_from_i64(n) { return n; }, bignum_from_u64(n) { return n < 0n ? 0xffff_ffff_ffff_ffffn + (n + 1n) : n; }, diff --git a/js-runtime/reflect.wasm b/js-runtime/reflect.wasm Binary files differindex d2b10d7..64d1156 100644 --- a/js-runtime/reflect.wasm +++ b/js-runtime/reflect.wasm |