What's the problem with this code snippet?
console.log() is unreachablecalculatePeriphery() can't be assigned to a variablecalculatePeriphery() can't take decimalsMath.PI can't be accessed within functionsThat's it! Because the return keyword stops the execution of a function, console.log() is unreachable.
Almost! Because the return keyword stops the execution of a function, console.log() is unreachable.