JSFiddle - React, Tailwind, and code Playground

JavaScript

alert( parseInt("not num") );
alert( parseInt("123is num") );