Casting-type (v11)

Revision 11 of this benchmark created by Mahdi on


Test runner

Ready to run.

Testing in
TestOps/sec
string to integer
var x = 's';
var y = 5;
x = parseInt(x, 10);

x + y;
ready
integer
var x = 2;
var y = 5;
var z = 's';

x + y
ready

Revisions

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