Closed sylvainpolletvillard closed 7 months ago
This PR solves this problem:
Solution:
complete at method of ArraySchema based on TC39 polyfill (https://github.com/tc39/proposal-relative-indexing-method?tab=readme-ov-file#polyfill)
Once the library will target ES2022 code, we can simplify the code to Array.from(this.$items.keys()).at(index)
Array.from(this.$items.keys()).at(index)
That's neat, thank you @sylvainpolletvillard 🎉
This PR solves this problem:
Solution:
complete at method of ArraySchema based on TC39 polyfill (https://github.com/tc39/proposal-relative-indexing-method?tab=readme-ov-file#polyfill)
Once the library will target ES2022 code, we can simplify the code to
Array.from(this.$items.keys()).at(index)