DEV Community

Discussion on: `at` coming soon to ECMAScript

Collapse
 
edo78 profile image
Federico "Edo" Granata

Sadly you can't just check for an undefined element because array with "hole" like const arr = [1,,3,4]; can create a problem with that logic.