infinity comparison

Benchmark created by Andy on


Setup

var i = -Infinity;

Test runner

Ready to run.

Testing in
TestOps/sec
or
i === Infinity || i === -Infinity
ready
abs
Math.abs(i) === Infinity
ready

Revisions

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

  • Revision 1: published by Andy on