Test name | Executions per second |
---|---|
f1 | 497376832.0 Ops/sec |
f2 | 493495872.0 Ops/sec |
f3 | 487984672.0 Ops/sec |
<!--your preparation HTML code goes here-->
const o = { f1(a,b){a**b}, f2: (a,b) => {return a**b}, f3: undefined}
o.f1?.(123,345)
o.f2?.(123,345)
o.f3?.(123,345)