Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows
Desktop
3 years ago
Test name Executions per second
delete o.p 31339558.0 Ops/sec
delete o["p"] 30857394.0 Ops/sec
o.p = undefined 13040236.0 Ops/sec
o["p"] = undefined; 14986232.0 Ops/sec
o.p = null 74861632.0 Ops/sec
o["p"] = null 74363120.0 Ops/sec
Script Preparation code:
Tests:
  • delete o.p

  • delete o["p"]

  • o.p = undefined

  • o["p"] = undefined;

  • o.p = null

  • o["p"] = null