Lines Matching refs:itemCount
218 // HandleForwardCase implements step 15. "If itemCount < actualDeleteCount,
221 context: Context, o: JSReceiver, len: Number, itemCount: Number,
223 // 15. If itemCount < actualDeleteCount, then
231 // ii. Let to be ! ToString(k + itemCount).
232 const to: Number = k + itemCount;
257 // d. Repeat, while k > (len - actualDeleteCount + itemCount)
258 while (k > (len - actualDeleteCount + itemCount)) {
266 // HandleBackwardCase implements step 16. "Else if itemCount >
269 context: Context, o: JSReceiver, len: Number, itemCount: Number,
271 // 16. Else if itemCount > actualDeleteCount, then
280 // ii. Let to be ! ToString(k + itemCount - 1).
281 const to: Number = k + itemCount - 1;
310 const itemCount: Number = insertCount;
319 // 14. Let itemCount be the Number of elements in items.
322 // 15. If itemCount < actualDeleteCount, then
323 if (itemCount < actualDeleteCount) {
325 context, o, len, itemCount, actualStart, actualDeleteCount);
326 // 16. Else if itemCount > actualDeleteCount, then
327 } else if (itemCount > actualDeleteCount) {
329 context, o, len, itemCount, actualStart, actualDeleteCount);
349 // 19. Perform ? Set(O, "length", len - actualDeleteCount + itemCount,
351 SetProperty(o, kLengthString, len - actualDeleteCount + itemCount);