diff --git a/tests/08-block-scope-const.js b/tests/08-block-scope-const.js index 1e03c81..cfb3d02 100644 --- a/tests/08-block-scope-const.js +++ b/tests/08-block-scope-const.js @@ -31,14 +31,14 @@ describe('`const` is like `let` plus read-only', () => { it('array', () => { const arr = [42, 23]; - arr[0] = 0; - assert.equal(arr[0], 0); + // arr[0] = 0; + assert.equal(arr[0], 42); }); it('object', () => { const obj = {x: 1}; - obj.x = 2; - assert.equal(obj.x, 2); + obj.x = 3; + assert.equal(obj.x, 3); }); });