summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/reflect-parse/destructuring-array-holes-reflect-as-null.js
blob: 8005ecc5cdb70485684d3bb8547eb99f966b11a6 (plain)
1
2
3
4
5
6
7
8
9
// |reftest| skip-if(!xulRuntime.shell)
function test() {

// Bug 632027: array holes should reflect as null
assertExpr("[,]=[,]", aExpr("=", arrPatt([null]), arrExpr([null])));

}

runtest(test);