Remove stray open curly brace
Removes open curly brace in console.log in Measure time taken by function snippet
This commit is contained in:
@ -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;
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user