blob: 57ff9e94729aa87d7810685ef3df802ee599dd01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
var BUGNUMBER = 1184922;
var summary = "Array destructuring with various default values in various context - yield expression";
print(BUGNUMBER + ": " + summary);
var opt = {
no_plain: true,
no_func: true,
no_func_arg: true,
no_gen_arg: true,
no_ctor: true,
no_derived_ctor: true,
no_method: true,
no_pre_super: true,
no_comp: true,
no_gen: false,
};
testDestructuringArrayDefault("yield 1", opt);
if (typeof reportCompare === "function")
reportCompare(true, true);
|