issues
search
henix
/
blog
some notes
0
stars
0
forks
source link
为什么不要在 js 中使用 instanceof
#38
Open
henix
opened
4 years ago
henix
commented
4 years ago
http://tobyho.com/2011/01/28/checking-types-in-javascript/
http://perfectionkills.com/instanceof-considered-harmful-or-how-to-write-a-robust-isarray/
https://stackoverflow.com/questions/41587865/using-instanceof-on-objects-created-with-constructors-from-deep-npm-dependenci
https://www.joyent.com/node-js/production/design/errors