@bram because it must
@bram WHAT THE
@bram that's incredible
@DarkCoinCoin ouais c'est le même genre de blague avec du type-operator-wise :/
@bram Because you should read the doc / the spec.
add operator is for add numbers and concat string. if any other type is involved in operation, they'll cast in another type supporting add operator.
@Purexo it's more like the design sucks, saying "the doc say that" is not a justification for bad design
@bram parce que je pour concaténer des tableaux il y a Array.prototype.concat
[1, 2, 3].concat([4, 5, 6])
@bram bad operator usage + automatic cast
@bram seems logical to me 🤔
@oliviamaia I just don't get how it can be a good OO design frankly
@bram I understand what's happening
I just think it's horrible
@enki same, I don't get that design, it's like perl type wise operators
@bram "types bad"