DEV Community


Discussion on: Day 92 : #100DaysofCode - Created a JS Tip Calculator in JS

scroung720 profile image
scroung720 • Edited

Super inspiring series, thanks for sharing. It is better if you use Number.isNaN() instead of isNaN() otherwise there are cases where could be type coercion that throws an unexpected value.

sincerelybrittany profile image
Brittany Author

This put a smile on my face! Thank you for reading 🙂💕