Skip to content

Commit 69cd457

Browse files
minor fix
1 parent bae0ef4 commit 69cd457

File tree

1 file changed

+1
-1
lines changed
  • 1-js/07-object-properties/01-property-descriptors

1 file changed

+1
-1
lines changed

1-js/07-object-properties/01-property-descriptors/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ for (let key in user) {
318318

319319
...But that does not copy flags. So if we want a "better" clone then `Object.defineProperties` is preferred.
320320

321-
Another difference is that `for..in` ignores symbolic properties, but `Object.getOwnPropertyDescriptors` returns *all* property descriptors including symbolic ones.
321+
Another difference is that `for..in` ignores symbolic and non-enumerable properties, but `Object.getOwnPropertyDescriptors` returns *all* property descriptors including symbolic and non-enumerable ones.
322322

323323
## Sealing an object globally
324324

0 commit comments

Comments
 (0)