Travis build: 1391

This commit is contained in:
30secondsofcode
2018-01-24 12:34:41 +00:00
parent ec38d84eec
commit 2dbba07bfb
3 changed files with 46 additions and 4 deletions

View File

@ -10,7 +10,11 @@ const delay = (fn, wait, ...args) => setTimeout(fn, wait, ...args);
```
```js
delay(function(text) {
console.log(text);
}, 1000, 'later'); // Logs 'later' after one second.
delay(
function(text) {
console.log(text);
},
1000,
'later'
); // Logs 'later' after one second.
```