三种方法:typeof、constructor和Object.prototype.toString.call()
typeof
typeof('123') === "string" // true
typeof '123' === "string" // true
constructor
'123'.constructor === String // true
Object.prototype.toString.call()
Object.prototype.toString.call('123') === '[object String]' // true