Hi I want to check primitive types using javascripfor example
var x //some kind of input is needed like prompt?
if x is a string then alert typeof x is a string
else if x is a boolean alert typeof x is a boolean
else
return alert x is a number
I dont know how to use typeof to check this because i just started learning javascript. Thank you!