From 972c7ab36ce1c021aaf8436af5a72b960f1b85fc Mon Sep 17 00:00:00 2001 From: Vse Mozhe Buty Date: Thu, 29 Oct 2020 17:34:23 +0200 Subject: [PATCH] Fix possibly outdated note in 1.9.6 (instanceof) It seems there are no polymorphic functions in this chapter. --- 1-js/09-classes/06-instanceof/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/09-classes/06-instanceof/article.md b/1-js/09-classes/06-instanceof/article.md index dd3d61ca..63081818 100644 --- a/1-js/09-classes/06-instanceof/article.md +++ b/1-js/09-classes/06-instanceof/article.md @@ -2,7 +2,7 @@ The `instanceof` operator allows to check whether an object belongs to a certain class. It also takes inheritance into account. -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. +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. ## The instanceof operator [#ref-instanceof]