函数-函数调用

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
普通函数
function add(a,b) {
  return a+b
}
const res = add(1, 2)
ready
箭头函数
const add = (a, b) => a + b
const res = add(1, 2)

ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.