var myFun = new Function("5+2") var shape="round" var size=1 var today=new Date()
The typeof
operator returns the following results for these variables:
typeof myFun == 'function' typeof shape == 'string' typeof size == 'number' typeof today == 'object' typeof dontExist == 'undefined'