Skip to content

Commit 9e8ee3e

Browse files
Apply suggestions from code review
remove Parentheses Co-authored-by: imed jaberi <imed_jebari@hotmail.fr>
1 parent 141ff31 commit 9e8ee3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

2-ui/1-document/01-browser-environment/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ alert(window.innerHeight); // ارتفاع النافذة الداخلية
4646
document.body.style.background = "red";
4747

4848
// تغييره مرة أخرى بعد ثانية واحدة
49-
setTimeout(() => (document.body.style.background = ""), 1000);
49+
setTimeout(() => document.body.style.background = "", 1000);
5050
```
5151

5252
استخدمنا هنا `document.body.style` ، ولكن هناك الكثير والكثير. يتم وصف الخصائص والأساليب في المواصفات:

0 commit comments

Comments
 (0)