OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Flags: --harmony-destructuring | 5 __v_1 = new Float64Array(1); |
6 'use strict'; | 6 __v_8 = { valueOf: function() { __v_13.y = "bar"; return 42; }}; |
7 | 7 __v_13 = __v_1; |
8 const { x : x, y : y } = { x : 1, y : 2 }; | 8 __v_13[0] = __v_8; |
9 x++; | |
OLD | NEW |