Why is === operator not working properly?

后端 未结 0 1144
粉色の甜心
粉色の甜心 2020-12-22 19:43

When I am running the following code, it returns true

parseFloat(0.5*2)===parseInt(0.5*2)

However when I run the following code, it correctly

相关标签:
回答
  • 消灭零回复
提交回复
热议问题