Skip to content

Commit d41997d

Browse files
Update about.md
1 parent faa6fea commit d41997d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

concepts/type-checking/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ For [historical reasons][`typeof null` is `"object"`].
4848
For checking the type of an object, you can use the `instanceof` operator.
4949
It evaluates into a `boolean` depending on whether the second operand is included in the first operands' [prototype chain][prototype chain].
5050
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.
51+
`instanceof` only works on objects.
5252

5353
```javascript
5454
class Beverage {

0 commit comments

Comments
 (0)