Typeof

Benchmark created by Javier Garmón on


Setup

var a = 1;
    var b = 'Hola mundo';
    var c = {};
    var d;
    var e;

Test runner

Ready to run.

Testing in
TestOps/sec
typeof
e = typeof a;
e = typeof b;
e = typeof c;
e = typeof d;
ready
typeof()
e = typeof(a);
e = typeof(b);
e = typeof(c);
e = typeof(d);
ready

Revisions

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

  • Revision 1: published by Javier Garmón on