xxxxxxxxxx
const raisedToTheThird = (arr) => {
let x =[];
for(let i=0 ; i< arr.length ; i++){
let third = Math.pow(arr[i],3) ;
x.push(third);
}
return x;
// Solution code here...
};
xxxxxxxxxx
const raisedToTheThird = (arr) => {
let x =[];
for(let i=0 ; i< arr.length ; i++){
let third = Math.pow(arr[i],3) ;
x.push(third);
}
return x;
// Solution code here...
};