DEV Community

Discussion on: `at` coming soon to ECMAScript

Collapse
yoursunny profile image
Junxiao Shi

Modulo is risky because you get NaN on an empty array.