type cast (v11)

Revision 11 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
parseFloat
var a = parseFloat("10000000.1212", 10);
var b = parseFloat("1000", 10);
 
ready
+ operator
var a = +"10000000.1212";
var b = +"1000" << 0;
 
ready
0 +
var a = 0 + "10000000.1212";
var b = 0 + "1000";
 
ready

Revisions

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