Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.62
Chrome 97
Windows 8.1
Desktop
2 years ago
Test name Executions per second
Number 1072788.0 Ops/sec
Unary + 1306945.0 Ops/sec
parseFloat 1062302.0 Ops/sec
parseInt 1171072.0 Ops/sec
Tests:
  • Number

  • Unary +

  • parseFloat

  • parseInt