quickjs icon indicating copy to clipboard operation
quickjs copied to clipboard

Public repository of the QuickJS Javascript Engine.

Results 193 quickjs issues
Sort by recently updated
recently updated
newest added

The following code does not work in QuickJS, `ownKeys` and `getOwnPropertyDescriptor` are called, but the `for-in` block is never entered. ```javascript let target = {} let proxy = new Proxy(target,...

For reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/n

Please correct me if I'm wrong. There's C unit tests for libbf, is it possible to ensure implementation correctness via some existing bigint/bigdecimal test suite?

This expression in libbf.c, function `bf_set_ui`, when `LIMB_BITS == 32` and `shift = 0`: ```c (a0 >> (LIMB_BITS - shift)) ``` becomes ```c (a0 >> 32) ``` And `a0` is...

# Version > 2022-03-07 # Test case ```javascript var foo = function (n) { switch (n) { case 1: print(1); function f() { print('f1') } break; case 2: print(2); function...

## Issue Hi, the following test case triggers an OOM on the attached harness and the OOM gets handled correctly: ``` a = new Int8Array(2483647+500000) b = {...a} ``` However,...

Hi there, this is probably not an issue but I find it somehow strange. qjs throws an error `SyntaxError: missing formal parameter` on the following testcase: ```javascript function func() {...

Using concat method or array push this operation takes around 0.015 - 0.030 seconds. ```js const str1 = "abc"; const str2 = "defghijklmnñopqrstuvwxyz"; const addStrings = times => { let...

it seems there are some issues in Promise and Await synax: eg:jsContext.executeVoidScript("console.log(\"Hello World\");\n" + "function testAsync(params) {\n" + " console.log(\"test Async start\");\n" + " return new Promise(function (resolve, reject) {\n"...