Merge remote-tracking branch 'origin/master'

This commit is contained in:
Angelos Chalaris
2018-01-24 14:40:21 +02:00
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.
```