Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109
Windows
Desktop
one year ago
Test name Executions per second
pow 10354578.0 Ops/sec
** 1086258560.0 Ops/sec
* 1098552960.0 Ops/sec
Tests:
  • pow

    AخA
     
    var tmp = Math.pow(6, 21);
  • **

     
    var tmp = 6 ** 21;
  • *

     
    var tmp = 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6 * 6;