JSFiddle - React, Tailwind, and code Playground

by superbDeveloper

JavaScript

//parseInt test - check what happens when value is a not a number

console.log(parseInt("not a number"));

var tmpCheck = ( isNan(parseInt("not a number")) == true ) ? 0 : parseInt("not a number");

console.log(tmpCheck)