Deprecate utility tag
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: timeTaken
|
||||
tags: utility,beginner
|
||||
tags: function,beginner
|
||||
---
|
||||
|
||||
Measures the time taken by a function to execute.
|
||||
@ -18,4 +18,4 @@ const timeTaken = callback => {
|
||||
|
||||
```js
|
||||
timeTaken(() => Math.pow(2, 10)); // 1024, (logged): timeTaken: 0.02099609375ms
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user