diff options
| author | Yingchen Xue <yingchenxue@qq.com> | 2018-06-04 14:59:02 +0800 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-06-04 08:59:02 +0200 |
| commit | 3ddb4017fd7c7bb6f0eafe6b23eb0ef6a70cd0d7 (patch) | |
| tree | 37fb24c52fbe7cd2fe49239004f1698f55988886 /testdata | |
| parent | 0639f9b7cc845579c59f5a792dcacb76bb28a749 (diff) | |
Lint (#83)
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/004_set_timeout.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
