---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint(prefer-exponentiation-operator): Prefer `**` over `Math.pow`.
   ╭─[prefer_exponentiation_operator.tsx:1:1]
 1 │ globalThis.Math.pow(a, b)
   · ─────────────────────────
   ╰────

  ⚠ eslint(prefer-exponentiation-operator): Prefer `**` over `Math.pow`.
   ╭─[prefer_exponentiation_operator.tsx:1:1]
 1 │ globalThis.Math['pow'](a, b)
   · ────────────────────────────
   ╰────

  ⚠ eslint(prefer-exponentiation-operator): Prefer `**` over `Math.pow`.
   ╭─[prefer_exponentiation_operator.tsx:1:1]
 1 │ Math.pow(a, b) + Math.pow(c,
   · ──────────────
 2 │              d)
   ╰────

  ⚠ eslint(prefer-exponentiation-operator): Prefer `**` over `Math.pow`.
   ╭─[prefer_exponentiation_operator.tsx:1:18]
 1 │ ╭─▶ Math.pow(a, b) + Math.pow(c,
 2 │ ╰─▶              d)
   ╰────

  ⚠ eslint(prefer-exponentiation-operator): Prefer `**` over `Math.pow`.
   ╭─[prefer_exponentiation_operator.tsx:1:1]
 1 │ Math.pow(Math.pow(a, b), Math.pow(c, d))
   · ────────────────────────────────────────
   ╰────

  ⚠ eslint(prefer-exponentiation-operator): Prefer `**` over `Math.pow`.
   ╭─[prefer_exponentiation_operator.tsx:1:10]
 1 │ Math.pow(Math.pow(a, b), Math.pow(c, d))
   ·          ──────────────
   ╰────

  ⚠ eslint(prefer-exponentiation-operator): Prefer `**` over `Math.pow`.
   ╭─[prefer_exponentiation_operator.tsx:1:26]
 1 │ Math.pow(Math.pow(a, b), Math.pow(c, d))
   ·                          ──────────────
   ╰────

  ⚠ eslint(prefer-exponentiation-operator): Prefer `**` over `Math.pow`.
   ╭─[prefer_exponentiation_operator.tsx:1:1]
 1 │ Math.pow(a, b)**Math.pow(c, d)
   · ──────────────
   ╰────

  ⚠ eslint(prefer-exponentiation-operator): Prefer `**` over `Math.pow`.
   ╭─[prefer_exponentiation_operator.tsx:1:17]
 1 │ Math.pow(a, b)**Math.pow(c, d)
   ·                 ──────────────
   ╰────

  ⚠ eslint(prefer-exponentiation-operator): Prefer `**` over `Math.pow`.
   ╭─[prefer_exponentiation_operator.tsx:1:1]
 1 │ Math.pow(a, b as any)
   · ─────────────────────
   ╰────

  ⚠ eslint(prefer-exponentiation-operator): Prefer `**` over `Math.pow`.
   ╭─[prefer_exponentiation_operator.tsx:1:1]
 1 │ Math.pow(a as any, b)
   · ─────────────────────
   ╰────

  ⚠ eslint(prefer-exponentiation-operator): Prefer `**` over `Math.pow`.
   ╭─[prefer_exponentiation_operator.tsx:1:1]
 1 │ Math.pow(a, b) as any
   · ──────────────
   ╰────
