JSFiddle - React, Tailwind, and code Playground

by Mykola Senyk

JavaScript

var s = '1', n;
n = parseInt(s);
console.log(n);
n = Number(s);
console.log(n);