constructors

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
String literal
var str_lit = "abc";
ready
String constructor
var str_con = String("abc");
ready
Boolean lit
var bool_lit = true;
ready
Boolean constructor
var bool_con = Boolean(true);
ready
Number lit
var num_lit = 45;
ready
Number constructor
var num_con = Number(45);
ready

Revisions

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