OLD | NEW |
(Empty) | |
| 1 f(int a, b, [c = 1]) { |
| 2 f(a, b, c); |
| 3 } |
| 4 g(int a, b, {c : 1}) { |
| 5 f(a, b, c); |
| 6 } |
| 7 |
| 8 invalid_names1(int let, function, arguments) { |
| 9 f(let, function, arguments); |
| 10 } |
| 11 invalid_names2([int let, function = 1, arguments]) { |
| 12 f(let, function, arguments); |
| 13 } |
| 14 invalid_names3({int let, function, arguments : 2}) { |
| 15 f(let, function, arguments); |
| 16 } |
| 17 |
| 18 names_clashing_with_object_props({int constructor, valueOf, hasOwnProperty : 2})
{ |
| 19 f(constructor, valueOf, hasOwnProperty); |
| 20 } |
OLD | NEW |