Would someone be able to help me with my code. I was practicing and thought I executed it right but its not giving me the right output.

You are logging the function itself, not the output of the function call, which you saved in the variable aera – not cartArea.

1 Like

You forgot that you were console.logging the process of cartArea and not the result which is held by the variable area.
Hope this helps

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.