Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Firefox 94
Ubuntu
Desktop
3 years ago
Test name Executions per second
null strict 849266240.0 Ops/sec
undefined strict 808797120.0 Ops/sec
null loose 803177344.0 Ops/sec
undefined loose 780756928.0 Ops/sec
Script Preparation code:
AخA
 
var x;
Tests:
  • null strict

     
    var y = (x === null);
  • undefined strict

     
    var y = (x === undefined);
  • null loose

     
    var y = (x == null);
  • undefined loose

     
    var y = (x === undefined);