How to call the function

How to call the function
0

#1

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");
}

ourReusableFunction();

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

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:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/write-reusable-javascript-with-functions


#2

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


#3

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


#4

Statements require semi-colons and not expressions.


#5

Thanks i take care of this