SOURCE

function power (base, expoent) {
  if (expoent == 0) 
    return 1;
  else
    return base * power (base,expoent-1 );
}
console 命令行工具 X clear

                    
>
console