About arrays coerced to strings in javascript

Other people may try to explain the inconsistency - my take is to simply never ever use double-equals

always use triple-equals strict equality ===

I wrote about array comparison here

1 Like