Closure test

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
no closure
const x = 5;
const y = 10;
const z = x * y;
ready
with closure
const x = 5;
const func = () => {
	const y = 10;
	return x * y;
}
const z = func();
ready

Revisions

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