Build README

This commit is contained in:
Angelos Chalaris
2017-12-13 13:55:44 +02:00
parent 668b76ba26
commit 31f7c652e2
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
### Measure time taken by function
Use `performance.now()` to get start and end time for the function, `console.log()` the time taken.
First argument is the function name, subsequent arguments are passed to the function.
Pass a callback function as the argument.
```js
const timeTaken = callback => {