diff --git a/README.md b/README.md index 70476c2a9..c912c910e 100644 --- a/README.md +++ b/README.md @@ -239,7 +239,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; } ```