Remove stray open curly brace

Removes open curly brace in console.log in Measure time taken by function snippet
This commit is contained in:
anbnyc
2017-12-11 14:40:53 -05:00
committed by GitHub
parent d2719d8a2a
commit 6254b49fb0

View File

@ -6,7 +6,7 @@ First argument is the function name, subsequent arguments are passed to the func
```js
var timeTaken = (f,...args) => {
var t0 = performance.now(), r = f(...args);
console.log({performance.now() - t0);
console.log(performance.now() - t0);
return r;
}
```