hasInstance
WHEN defining the static method [Symbol.hasInstance]
THEN the result is used with instanceof
Links
Description of `Symbol.hasInstance` on MDN.
The specification of `Symbol.hasInstance`.
Required Knowledge
- `const` declaration (Block scope)
- creation (Class)
Related Katas
Symbol
Difficulty Level
INTERMEDIATE
Stats
1 tests to solve