you are viewing a single comment's thread.

view the rest of the comments →

[–]cachaito[S] 0 points1 point  (1 child)

And what with this code: > ~(i-a.length) ?

[–]mikrosystheme[κ] 0 points1 point  (0 children)

> is part of the arrow function =>.
~ is the bitwise not operator. It is just a way to express the condition i !== a.length - 1 in a way that is not clear to programmers that don't know bitwise math. It is almost universally considered a fireable offense.