const isArray vs Array.isArray (v2)

Revision 2 of this benchmark created on


Setup

const isArray = Array.isArray;
const test = Array(10).fill(null);

Test runner

Ready to run.

Testing in
TestOps/sec
isArray
isArray(test);
ready
Array.isArray
Array.isArray(test)
ready

Revisions

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