var arr = Object.defineProperty([], "length", { writable: false, value: 12 }); arr[11] = true;