panzerdp / dmitripavlutin.com-comments

7 stars 0 forks source link

/object-is-vs-strict-equality-operator/ #71

Open panzerdp opened 4 years ago

panzerdp commented 4 years ago

Written on 05/30/2020 17:59:28

URL: https://dmitripavlutin.com/object-is-vs-strict-equality-operator/

panzerdp commented 4 years ago

Comment written by Šime Vidas on 05/31/2020 20:50:27

Is there a difference between Number.isNaN(x) and Object.is(x, NaN)?

panzerdp commented 4 years ago

Comment written by Dmitri Pavlutin on 06/02/2020 09:40:19

Seems like they have the same behavior.