JSFiddle - React, Tailwind, and code Playground

by ChrisStanyon

JavaScript

const highNum = parseInt(prompt("Choose a high Number"))
const lowNum = parseInt(prompt("Choose a low Number"))

let test = typeof highNum
console.log(test)

if (typeof highNum === 'number' && typeof lowNum === 'number') {
console.log("Match")

} else {
console.log("NO Match")


}