4 min read - 2022-09-02
In this post we're going to learn what is negative zero, how to test if a value is negative zero and know its odd behaviors.You most probably never going to use negative zero but it may be good for interview questions.
3 min read - 2022-08-22
In JavaScript one of the weirdest topics is NaN. It is the only thing in Javascript that does not equal to itself. In this post we're gonna see some of its weird behavior, give it a new name and show some ways to determine if a value is NaN.