Skip to content

Commit c9d53f1

Browse files
authored
Merge pull request #220 from usernamehw/patch-1
Typo
2 parents 43c1978 + 4858aaa commit c9d53f1

File tree

1 file changed

+1
-1
lines changed
  • 1-js/04-object-basics/05-object-toprimitive

1 file changed

+1
-1
lines changed

1-js/04-object-basics/05-object-toprimitive/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ For instance:
213213
```smart header="Historical notes"
214214
For historical reasons, methods `toString` or `valueOf` *should* return a primitive: if any of them returns an object, then there's no error, but that object is ignored (like if the method didn't exist).
215215
216-
In contrast, `Symbol.toPrimitive` *must* return an primitive, otherwise there will be an error.
216+
In contrast, `Symbol.toPrimitive` *must* return a primitive, otherwise, there will be an error.
217217
```
218218
219219
## Summary

0 commit comments

Comments
 (0)