ECMAScript 6: holes in Arrays

added by JavaScript Kicks
11/17/2015 9:13:53 AM

677 Views

This blog post describes how ECMAScript 6 handles holes in Arrays. Holes are indices "inside" an Array that have no associated element. In other words: An Array arr is said to have a hole at index i if: For example: The following Array has a hole at index 1.


0 comments