open_in_new
content_copy
const nb = Number(prompt("Enter a number:")); // nb's type is number