Casting-type (v13)

Revision 13 of this benchmark created by Mahdi on


Test runner

Ready to run.

Testing in
TestOps/sec
mixed type arrays
var arr = [1, "test", {}, []];

arr.indexOf("test");
ready
same type
var arr = ["", "test"];

var x = {};
var y = [];
var z = 1;

arr.indexOf("test");
ready

Revisions

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