what is the value of x var x = typeof new string( abc ) code example
Example: how to get type of variable in javascript
> typeof "foo"
"string"
> typeof true
"boolean"
> typeof 42
"number"
> typeof "foo"
"string"
> typeof true
"boolean"
> typeof 42
"number"