Custom Math.pow

Run Settings
LanguageJavaScript
Language Version
Run Command
'use strict'; const pow = (base, exponent) => { const arr = Array.apply(null, Array(exponent)); return arr.map(() => base).reduce((total, int) => total * int, 1); }; console.log(pow(10, 3));
Editor Settings
Theme
Key bindings
Full width
Lines