We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 686ae52 + 97f6ce2 commit 4f775aaCopy full SHA for 4f775aa
2-ui/1-document/07-modifying-document/article.md
@@ -388,8 +388,8 @@ Let's make our message disappear after a second:
388
389
document.body.append(div);
390
*!*
391
- setTimeout(div => div.remove(), 1000);
392
- // or setTimeout(div => document.body.removeChild(div), 1000);
+ setTimeout(() => div.remove(), 1000);
+ // or setTimeout(() => document.body.removeChild(div), 1000);
393
*/!*
394
</script>
395
```
0 commit comments