JavaScript Tip: Testing for NaN
2,232 views · Published 12 September 2018 · 6:56 · Indexed 21 September 2026
Channel: All Things JavaScript, LLC · 2018 · Education
Occasionally you need to test for the NaN value in JavaScript. In order to do so, you need to understand the correct methods. In this tutorial we cover isNaN, Number.isNaN and Object.is. For more resources on JavaScript: http://www.allthingsjavascript.com Full personalized courses on JavaScript: https://http://allthingsjavascript.com/personalized.html Courses offered on Udemy: Getting Started or Advanced Topics at a huge discount: https://www.udemy.com/learn-modern-javascript-getting-started/?couponCode=YOUTUBE https://www.udemy.com/learn-modern-javascript-advanced-topics/?couponCode=YOUTUBE Tutorials referred to in this video: JavaScript Equality: https://youtu.be/zYQ0ePou-no