JavaScript:实现Pow Logarithmic幂函数与对数函数算法
import {
isEven } from 'IsEven'
/**
*
* @function PowLogarithmic
* @description Given two integers x and n, return x^n in logarithmic complexity.
* @param {Integer} x - The input integer
* @param {Integer} n - The input integer
* @return {Integer} - Returns x^n.
*/
const powLogarithmic = (