Why doesn't null evaluate to false?

前端 未结 0 1949
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-12 08:04

What is the reason null doesn\'t evaluate to false in conditionals?

I first thought about assignments to avoid the bug of using =

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