test262 icon indicating copy to clipboard operation
test262 copied to clipboard

Lack of tests around destructuring and export statements

Open mstoykov opened this issue 9 months ago • 1 comments

It seems there are no tests around destructuring in export statements.

The only exception is around top-level await in src/top-level-await/syntax/export-var-init.template and the resulting tests.

So for example there are no tests around

export let [a, b] = [1, 5];

Working as expected in the current test suite.

I have now hitted this a couple of times during my work on sobek - arguably a very less known implementation, forked from goja

mstoykov avatar Mar 19 '25 16:03 mstoykov

You are very welcome to contribute some tests that would have failed due to bugs in Sobek's implementation of destructuring in exports!

ptomato avatar Mar 29 '25 00:03 ptomato