Test name | Executions per second |
---|---|
Double negation | 55607.0 Ops/sec |
Boolean function | 55782.1 Ops/sec |
<!--your preparation HTML code goes here-->
/*your preparation JavaScript code goes here
To execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/
async function globalMeasureThatScriptPrepareFunction() {
// This function is optional, feel free to remove it.
// await someThing();
}
console.log(!!undefined);
console.log(Boolean(undefined));