Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 7, 2021 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/b05d093393b1d8788e393e3c48720501 to your computer and use it in GitHub Desktop.
Save velotiotech/b05d093393b1d8788e393e3c48720501 to your computer and use it in GitHub Desktop.
var rpm = "500";
let speed = "170";
{
var rpm = Number(rpm);
speed = speed/0;
let tourque = "50";
console.log(speed)
}
console.log(typeof rpm);
console.log(typeof speed === 'NaN');
console.log(typeof tourque);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment