Ad
Code
Diff
  • power=(n,p)=> p === 0 ? 1 : Math.pow(n,p)
    • power=(n,p)=>n**p
    • power=(n,p)=> p === 0 ? 1 : Math.pow(n,p)