Add tests for mutate const array

pull/14195/head
techstonia 2017-04-01 22:45:41 +03:00
parent 89e622ac4b
commit da4735e749
1 changed files with 2 additions and 2 deletions

View File

@ -159,8 +159,8 @@
"tests": [
"// Test user did not replace const keyword",
"// Test s is const",
"// Test s is sorted",
"// Test s is still mutable, and object freeze was not invoked"
"assert.deepEqual(s, [2, 5, 7], 'message: <code>s</code> should be equal to <code>[2, 5, 7]</code>.');",
"assert(!Object.isFrozen(s), 'message: <code>s</code> should not be frozen.');"
],
"type": "waypoint",
"releasedOn": "Feb 17, 2017",