From 3ddb4017fd7c7bb6f0eafe6b23eb0ef6a70cd0d7 Mon Sep 17 00:00:00 2001 From: Yingchen Xue Date: Mon, 4 Jun 2018 14:59:02 +0800 Subject: Lint (#83) --- testdata/004_set_timeout.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testdata') diff --git a/testdata/004_set_timeout.ts b/testdata/004_set_timeout.ts index cc55bf76f..214b25086 100644 --- a/testdata/004_set_timeout.ts +++ b/testdata/004_set_timeout.ts @@ -1,10 +1,10 @@ -setTimeout(function() { +setTimeout(() => { console.log("World"); }, 10); console.log("Hello"); -const id = setTimeout(function() { +const id = setTimeout(() => { console.log("Not printed"); }, 10000); -- cgit v1.2.3