From 97f6ce2fded4e0525d5cedb5944b5eb856c68f1c Mon Sep 17 00:00:00 2001 From: ZhengHe Date: Wed, 10 May 2017 14:17:12 +0800 Subject: [PATCH] Update article.md --- 2-ui/1-document/07-modifying-document/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2-ui/1-document/07-modifying-document/article.md b/2-ui/1-document/07-modifying-document/article.md index 09d943ba..aecb716d 100644 --- a/2-ui/1-document/07-modifying-document/article.md +++ b/2-ui/1-document/07-modifying-document/article.md @@ -388,8 +388,8 @@ Let's make our message disappear after a second: document.body.append(div); *!* - setTimeout(div => div.remove(), 1000); - // or setTimeout(div => document.body.removeChild(div), 1000); + setTimeout(() => div.remove(), 1000); + // or setTimeout(() => document.body.removeChild(div), 1000); */!* ```