Skip to content

Commit 972c7ab

Browse files
authored
Fix possibly outdated note in 1.9.6 (instanceof)
It seems there are no polymorphic functions in this chapter.
1 parent 2d5be7b commit 972c7ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/09-classes/06-instanceof/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The `instanceof` operator allows to check whether an object belongs to a certain class. It also takes inheritance into account.
44

5-
Such a check may be necessary in many cases. Here we'll use it for building a *polymorphic* function, the one that treats arguments differently depending on their type.
5+
Such a check may be necessary in many cases. For example, it can be used for building a *polymorphic* function, the one that treats arguments differently depending on their type.
66

77
## The instanceof operator [#ref-instanceof]
88

0 commit comments

Comments
 (0)