Difference between instanceof and constructor property

No.

instanceof also checks for “inherited” constructors.

For more information, see the spec. (here and here)

Leave a Comment