JSFiddle - React, Tailwind, and code Playground

JavaScript

var res = prompt("Digite um número ");
alert('O tipo do input é: ' + typeof res);