Skip to content

Commit c98d89e

Browse files
committed
Remove comma before "that".
Fix verb expectations. Change "origin" to "originate".
1 parent 9b82ae6 commit c98d89e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/en/types/instanceof.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ nearly as useless as the [typeof operator](#types.typeof).
2626
'foo' instanceof String; // false
2727
'foo' instanceof Object; // false
2828

29-
One important thing to note here is, that `instanceof` does not work on objects
30-
that origin from different JavaScript contexts (e.g. different documents
29+
One important thing to note here is that `instanceof` does not work on objects
30+
that originate from different JavaScript contexts (e.g. different documents
3131
in a web browser), since their constructors will not be the exact same object.
3232

3333
### In Conclusion
3434

3535
The `instanceof` operator should **only** be used when dealing with custom made
36-
objects that origin from the same JavaScript context. Just like the
36+
objects that originate from the same JavaScript context. Just like the
3737
[`typeof`](#types.typeof) operator, every other use of it should be **avoided**.
3838

0 commit comments

Comments
 (0)