null is kind of undefined/unknown value, so you can’t really compare undefined to undefined. IS in this case will handle this specially, where as the = will be treated like a regular equality comparison.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top