I cant get area of circle……………………………………….
const radius = [22, 32, 12, 33];
const calcArea = function (radius) {
const op = [];
for (let i of radius) {
op.push(Math.PI * radius * radius);
}
return op;
};
console.log( calcArea(radius));