Make property configurable to pass tests

This commit is contained in:
Anatoliy Chakkaev 2012-09-11 23:53:19 +04:00
parent c8b8012e28
commit ffbc9482f7
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ function List(data, type, parent) {
Object.defineProperty(list, data[i].id, { Object.defineProperty(list, data[i].id, {
writable: true, writable: true,
enumerable: false, enumerable: false,
configurable: true,
value: data[i] value: data[i]
}); });
if (list.nextid <= data[i].id) { if (list.nextid <= data[i].id) {