Arrow functions

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Function
function functionName() {
    const a = 1 + 1;
    
    return a;
}
ready
Arrow
const functionName = () => {
    const a = 1 + 1;
    
    return a;
}
ready

Revisions

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