JSFiddle - React, Tailwind, and code Playground by TheDiamondDoge December 04, 2019 JavaScript var x = "th1s"; alert(parseInt(x));