Skip to content

Commit f9b0d59

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +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 درون خود یک خط تیره (-) دارد، پس نمی‌تواند نام یک متغیر باشد.
42+
// درون خود یک خط تیره (-) دارد، پس نمی‌تواند نام یک متغیر باشد elem-content.
4343
// ...but we can access it using square brackets: window['elem-content']
4444
</script>
4545
```

0 commit comments

Comments
 (0)