Skip to content

Commit a207bdb

Browse files
committed
Update article.md
Устранена опечатка в примере использования
1 parent 24cd9a6 commit a207bdb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

1-js/9-prototypes/7-oop-errors/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ var err = new PropertyRequiredError("age");
274274
// пройдёт проверку
275275
alert( err instanceof PropertyRequiredError ); // true
276276
alert( err instanceof PropertyError ); // true
277-
alert( err isntanceof CustomError ); // true
278-
alert( err isntanceof Error ); // true
277+
alert( err instanceof CustomError ); // true
278+
alert( err instanceof Error ); // true
279279
```
280280

0 commit comments

Comments
 (0)