Test name | Executions per second |
---|---|
emptyFunc | 9748755.0 Ops/sec |
trueFunc | 9852318.0 Ops/sec |
undefinedFunc | 3426315.8 Ops/sec |
nullFunc | 10036241.0 Ops/sec |
var emptyFunc = function() {};
var trueFunc = function() { return true; }
var undefinedFunc = function() { return undefined; }
var nullFunc = function() { return null; }
emptyFunc();
trueFunc();
undefinedFunc();
nullFunc();