Arrow functions vs regular functions overhead.
const arrow = (a, b) => a + b;
function regular(a, b) { return a + b; }Initializing...
| Test Case | Ops/sec | |
|---|---|---|
| Arrow function | | ready |
| Regular function | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.