Had a question about this assignment
h
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 (653) [earned 5 cycles]
View Answer
TheDrone7 (653)

@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
nameOfFunction(value);