Depth analysis instanceof operator

一、instanceof

1, the introduction of instanceof

  In JS, determines the type of a variable, often use typeof operator, but is determined by typeof reference type variable, no matter what type of variable which returns Object

 

Guess you like

Origin www.cnblogs.com/haishen/p/12052751.html