void vs undefined (v4)

Revision 4 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
undefined
(function(a) {
 return (a === undefined);
})();
ready
void
(function(a) {
 return (a === void 0);
})();
ready

Revisions

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