Skip to content

Commit 473bf56

Browse files
authored
Update solution.md
1 parent 2731a82 commit 473bf56

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • 1-js/10-error-handling/2-custom-errors/1-format-error

1-js/10-error-handling/2-custom-errors/1-format-error/solution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ class FormatError extends SyntaxError {
66
}
77
}
88

9-
let err = new FormatError("formatting error");
9+
let err = new FormatError("ошибка формата");
1010

11-
alert( err.message ); // formatting error
11+
alert( err.message ); // ошибка формата
1212
alert( err.name ); // FormatError
1313
alert( err.stack ); // stack
1414

0 commit comments

Comments
 (0)