Destructuring Notation vs Dot Notation vs Bracket Notation78,075,232 ops/sec
77,259,840 ops/sec
71,881,704 ops/sec
Fastest: Bracket Notation (2.2x faster)
703,937,152 ops/sec
695,615,488 ops/sec
318,180,672 ops/sec
30,451,678 ops/sec
30,371,358 ops/sec
30,352,174 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Destructuring Notation | |
| Dot Notation | |
| Bracket Notation |
| Test name | Executions per second |
|---|---|
| ✓ Dot Notation | 1,909,209,472 Ops/sec |
| Bracket Notation | 1,891,905,408 Ops/sec |
| Destructuring Notation | 636,861,888 Ops/sec |