We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f0f146 commit faa6feaCopy full SHA for faa6fea
1 file changed
concepts/type-checking/about.md
@@ -46,7 +46,7 @@ For [historical reasons][`typeof null` is `"object"`].
46
## The `instanceof` operator
47
48
For checking the type of an object, you can use the `instanceof` operator.
49
-It returns a boolean depending on whether the second operand is included in the first operands' [prototype chain][prototype chain].
+It evaluates into a `boolean` depending on whether the second operand is included in the first operands' [prototype chain][prototype chain].
50
To clarify, `instanceof` will return whether the first operand is an instance of second operand or one of its child classes.
51
`instanceof` only works for compound data types, such as arrays and objects.
52
0 commit comments