Skip to content

Commit affee18

Browse files
authored
Merge pull request #2796 from joaquinelio/patch-8
transl: easier to change where mdn: dsnt work
2 parents 96bd8cf + e715c5a commit affee18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/04-object-basics/08-symbol/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ for (let key in user) alert(key); // name, age (no symbols)
161161
alert( "Direct: " + user[id] );
162162
```
163163

164-
[Object.keys(user)](mdn:js/Object/keys) also ignores them. That's a part of the general "hiding symbolic properties" principle. If another script or a library loops over our object, it won't unexpectedly access a symbolic property.
164+
[Object.keys(user)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys) also ignores them. That's a part of the general "hiding symbolic properties" principle. If another script or a library loops over our object, it won't unexpectedly access a symbolic property.
165165

166166
In contrast, [Object.assign](mdn:js/Object/assign) copies both string and symbol properties:
167167

0 commit comments

Comments
 (0)