javascript中typeof操作符和constucor属性检测_javascript技巧