Skip to content

Commit fccfddc

Browse files
Update concepts/type-checking/about.md
Co-authored-by: Derk-Jan Karrenbeld <[email protected]>
1 parent 803f3c1 commit fccfddc

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
@@ -134,7 +134,7 @@ To avoid this, use `Object.hasOwn()` instead
134134

135135
## The `Object.hasOwn()` function
136136

137-
The `Object.hasOwn()` method returns whether the specified object has _its own property_ (not inherited or a method) that matches a string.
137+
The `Object.hasOwn()` method returns whether the specified object _owns the given property_ (it is not inherited or a method).
138138

139139
```javascript
140140
class Coffee {

0 commit comments

Comments
 (0)