4

"1"+1="11"
1+'1'=2

What language am I?

Comments
  • 4
  • 2
    Jabascrept
  • 0
    PHP? Hm nah.. it's even worse..
  • 0
    @GamerFac3 meh, PHP would result in "2" both times, because the string cocatenator is different.
  • 0
    @kolaente Yeah, that's better ofc ^^
  • 1
    Js, and you are using it wrong. If I wanted to, I could probably construct a circular generic type using c#, or at least a generic so long that it literally takes a minute to run typeof. But I don't. Because that's not what it was meant for.
  • 1
    The bigger question is: why are you adding numbers and strings in the first place
Add Comment