GIven a value, which three options can a developer use to detect if thevalue is NaN? Choose 3 answers

GIven a value, which three options can a developer use to detect if thevalue is NaN? Choose 3 answers
A . value == NaN
B . Object.is(value, NaN)
C . value === Number.NaN
D . value ! == value
E . Number.isNaN(value)

Answer: A,E

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments