How to call the function

Call reusableFunction after you define it i’m stuck here i cant get the correct answer

Your code so far

// Example
function ourReusableFunction() {
  console.log("Heyya, World");


// Only change code below this line
function reusableFunction(){
  console.log('Hi World')

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36 Avast/69.0.792.82.

Link to the challenge:

The tests are expecting you to have a semi-colon after each statement.

Thanks now it works completely fine ,Should i always use semi Colon after every expression.

Statements require semi-colons and not expressions.

1 Like

Thanks i take care of this