Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
plusgut64803yThis picture is wrong.
Result in the first is '11'.
Dacexi127333yCan everyone stop with this bullshit. It makes perfect sense. You can add to a string but you can't subtract from one. Therefore it assumes that you want to add the string since you have it a string to add.
meh. i use typescript anyway. those are edge cases. why would you want to substract a number from a string anyway?
@all relax fellas it's just a joke.