functionmain(){constPI=Math.PI;letradius=parseFloat(readLine());readLine(radius);console.log(PI*radius*radius);console.log(2*PI*radius);try{PI=0;console.log(PI);}catch(error){console.error("You correctly declared 'PI' as a constant.");}}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Discussion on: JavaScript Code Daily Challenge #7
For further actions, you may consider blocking this person and/or reporting abuse