ES6 Class vs Function Prototype vs Object Literal vs Object Literal & Function| Test case name | Result |
|---|---|
| ES6 Class | |
| Function Prototype | |
| Object Literal | |
| Object Literal & Function |
| Test name | Executions per second |
|---|---|
| ✓ Object Literal & Function | 226,168,048 Ops/sec |
| Object Literal | 2,362,710 Ops/sec |
| ES6 Class | 842,473 Ops/sec |
| Function Prototype | 741,920 Ops/sec |