Run details:
Mozilla/5.0 (iPhone; CPU OS 14_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/29.0 Mobile/15E148 Safari/605.1.15
Mobile Safari 14
iOS 14.0.1
Mobile
4 years ago
Test name Executions per second
pow 10045607.0 Ops/sec
** 381096544.0 Ops/sec
* 382329536.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;