TypeError: Cannot read property 'message' of undefined

Tell us what’s happening:
Describe your issue in detail here.
I am getting typeError of cannot read property ‘message’ of undefined.

  **Your code so far**

function reusableFunction() {
console.log("Hi World");

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36

Challenge: Write Reusable JavaScript with Functions

Link to the challenge:

If that’s all the code you have, it works for me.

Try refreshing the page and submit again, sometimes it helps :slight_smile:

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