5 ms·
This is embarrassing, but I had no idea that 0 == "string1" would return true. I had to write a test script to verify it.
by zackattack 17y ago
This is embarrassing, but I had no idea that 0 == "string1" would return true. I had to write a test script to verify it.
- hugs 17y agoObligatory codepad.org paste to confirm it: http://codepad.org/LOZdQd81 http://codepad.org/LOZdQd81