Open GeekEast opened 5 years ago
https://geekeast.github.io/checktypeinjs.html
Difference typeof: only judge between string, number, boolean, object, function, symbol and undefined. instanceof: can judge instance inside object, like array, but sometime not accurate. Object.pr
可以可以
https://geekeast.github.io/checktypeinjs.html
Difference typeof: only judge between string, number, boolean, object, function, symbol and undefined. instanceof: can judge instance inside object, like array, but sometime not accurate. Object.pr