Debian Codegraph @

js/src/tests/non262/reflect-parse/destructuring-array-holes-reflect-as-null.js

raw
1 // |reftest| skip-if(!xulRuntime.shell)
2 function test() {
3
4 // Bug 632027: array holes should reflect as null
5 assertExpr("[,]=[,]", aExpr("=", arrPatt([null]), arrExpr([null])));
6
7 }
8
9 runtest(test);