Skip to content

Commit 8b49824

Browse files
Update article.md
1 parent c419fce commit 8b49824

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • 2-ui/1-document/04-searching-elements-dom

2-ui/1-document/04-searching-elements-dom/article.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
elem.style.background = 'red';
4040
4141
// id="elem-content" has a hyphen inside, so it can't be a variable name
42+
// elem-content درون خود یک خط تیره (-) دارد، پس نمی‌تواند نام یک متغیر باشد.
4243
// ...but we can access it using square brackets: window['elem-content']
4344
</script>
4445
```

0 commit comments

Comments
 (0)