Skip to content

Commit ff042a0

Browse files
authored
Merge pull request #1717 from zeel/typo/bug-object-fix
fix: spell correction to existence
2 parents cae000f + 4e4144b commit ff042a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 1-js/04-object-basics/01-object/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ alert( *!*key*/!* in user ); // true, takes the name from key and checks for suc
322322
```
323323
324324
````smart header="Using \"in\" for properties that store `undefined`"
325-
Usually, the strict comparison `"=== undefined"` check the property existance just fine. But there's a special case when it fails, but `"in"` works correctly.
325+
Usually, the strict comparison `"=== undefined"` check the property existence just fine. But there's a special case when it fails, but `"in"` works correctly.
326326
327327
It's when an object property exists, but stores `undefined`:
328328

0 commit comments

Comments
 (0)