Make property configurable to pass tests
This commit is contained in:
parent
c8b8012e28
commit
ffbc9482f7
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue