Why is this equal to true?

untitled script pic (6)

However! 2+2 is 4, and it shouldn't be identical to 4.0. But this returns true? 4 isn't identical to 4.0.

Don't report bugs that aren't bugs. Again, this is a place to learn and ask questions about programming with Snap, not to scream for attention.