String() vs .toString() vs template literal vs gato | Test case name | Result |
|---|---|
| String() | |
| .toString() | |
| template literal | |
| gato |
| Test name | Executions per second |
|---|---|
| ✓ String() | 6,546,848 Ops/sec |
| .toString() | 6,445,158 Ops/sec |
| gato | 6,405,619 Ops/sec |
| template literal | 2,049,849 Ops/sec |