Had a question about this assignment
JamesCrowley (0)

I can't seem to get this if statement to function correctly. What am I doing wrong? Thanks.

You are viewing a single comment. View All
Answered by TheDrone7 (1246) [earned 5 cycles]
View Answer
TheDrone7 (1246)

@JamesCrowley you should always call a function after you've finished defining it. For example

function nameOfFunction (parameter){
    // Statements to be executed
} // Definition finishes here

// Call function now