[Solved] How can I fix the syntax error in this simple JavaScript function? [closed]


You added an unnessesary semicolon after myFunction()

function myFunction() ; <== here {

solved How can I fix the syntax error in this simple JavaScript function? [closed]