Try catch

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
try catch
function a() {
	
	try {
		b();
	}
	catch(e){
		
	}
}

function b() {
	
	try {
		c();
	}
	catch(e){
		
	}
}

function c() {
	
	try {
		console.log(1+1);
	}
	catch(e){
		
	}
}


a();
ready
no try catcgh
function a() {
	
		b();
	
}

function b() {
	
		c();

}

function c() {
	
		console.log(1+1);

}

a();
ready

Revisions

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