Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
据我了解,动态类型语言具有一个或多个虚假值。静态类型语言只有一个虚假值。
因为静态类型语言总是只有一个 falsy 值,所以谈论静态类型语言的 falsy 值是没有意义的。
当我写这篇文章时,我想知道......所有动态类型的语言都有两个或更多的虚假值吗?或者说一个或多个更安全?