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.
有人能解释一下为什么Angular DataPipe里面有这个表达式:value !== value。在什么情况下这有意义?
DataPipe
value !== value
(x !== x) 为真的唯一情况是 x 为NaN时。
请参阅平等比较和相同性。