You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/04-object-basics/09-object-toprimitive/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ That's an important limitation, as the result of `obj1 + obj2` can't be another
11
11
12
12
E.g. we can't make objects representing vectors or matrices (or archievements or whatever), add them and expect a "summed" object as the result. Such architectural feats are automatically "off the board".
13
13
14
-
So, because we can't do much here, in real projects people don't do maths with objects. When it happens, it's usually because of a coding mistake.
14
+
So, because we can't do much here, there's no maths with objects in real projects. When it happens, it's usually because of a coding mistake.
15
15
16
16
In this chapter we'll cover how an object converts to primitive and how to customize it.
0 commit comments