blob: 538b9f31c2408b84e6d92ba65c0414eeb8cdb844 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// |reftest| skip-if(!xulRuntime.shell||release_or_beta)
function test() {
assertExpr("(x ??= y)", aExpr("??=", ident("x"), ident("y")));
assertExpr("(x ||= y)", aExpr("||=", ident("x"), ident("y")));
assertExpr("(x &&= y)", aExpr("&&=", ident("x"), ident("y")));
}
runtest(test);
|