return Math.PI * radius * radius; code example
Example: pi in js
//pi declare pi= MATH.PI
var pi = MATH.PI;
//console
console.log(pi);
//screen
document.write(pi);
//pi declare pi= MATH.PI
var pi = MATH.PI;
//console
console.log(pi);
//screen
document.write(pi);