| Index: test/mjsunit/const-redecl.js
|
| diff --git a/test/mjsunit/const-redecl.js b/test/mjsunit/const-redecl.js
|
| index c0b97e6ced14c90b57b5226e87a8e35352bf621f..875e08e7c50bfbf615d9fd17c5187a7fdae6753c 100644
|
| --- a/test/mjsunit/const-redecl.js
|
| +++ b/test/mjsunit/const-redecl.js
|
| @@ -268,7 +268,7 @@ eval("Object.defineProperty(this, 'i', { writable: true });"
|
|
|
| var global = this;
|
| assertThrows(function() {
|
| - Object.defineProperty(global, 'j', { writable: true })
|
| + Object.defineProperty(global, 'j', { writable: true });
|
| }, TypeError);
|
| const j = 2; // This is what makes the function above throw, because the
|
| // const declaration gets hoisted and makes the property non-configurable.
|
|
|