Why doesn't null evaluate to false?

前端 未结 0 437
生来不讨喜
生来不讨喜 2021-02-12 08:01

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

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

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