typeof 是操作符,而不是函数
typeof 的返回下列参数 undefined boolean string number object (对象或者null) function
因为typeof是一个操作符,而不是函数,建议写法是
alert(typeof 99);而不是alert(typeof(99));虽然结果是一致,但是需要斟酌
typeof 是操作符,而不是函数
typeof 的返回下列参数 undefined boolean string number object (对象或者null) function
因为typeof是一个操作符,而不是函数,建议写法是
alert(typeof 99);而不是alert(typeof(99));虽然结果是一致,但是需要斟酌