toString (v15)

Revision 15 of this benchmark created by Rogalik on


Setup

var a = {
        1: '111',
        2: 'qwew'
    }
    
    toString = Object.prototype.toString;

Test runner

Ready to run.

Testing in
TestOps/sec
toString
toString.call(a) === "[object Date]";
ready
ToStringNorm
a.toString() === "[object Date]";
ready

Revisions

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