@matrix

string + string = concatenation of strings
anything - anything = well shoot, minus means subtraction let's convert everything to numbers and be glad i don't convert it to octal numbers

@matrix
document.write(('b' + 'a' + + 'a' + 'a').toLowerCase())

A single greatest line of programming ever done in javascript.

@matrix I just tested, holy shit this is true. what the actual fuck is this shit.

@lucy @matrix First time it combines them as strings and the next time it subtracts as a number… Javascript is tryhard and can’t give a typerror when it really should

Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.