Dostosuj () JS
console.log("The future says:", future());
function future() {
return "You'll never have flying cars";
}
Exuberant Elephant
console.log("The future says:", future());
function future() {
return "You'll never have flying cars";
}
const power = (base, exponent) => {
let result = 1;
for (let count = 0; count < exponent; count++) {
result *= base;
}
return result;
};