javascript get type = code example
Example 1: javascript get type of var
typeof operando
Example 2: how to get type of variable in javascript
> typeof "foo"
"string"
> typeof true
"boolean"
> typeof 42
"number"
typeof operando
> typeof "foo"
"string"
> typeof true
"boolean"
> typeof 42
"number"