need help please
washingtonwill (0)

function exerciseFour(value){
let greaterThanFive = false;
// In this exercise, you will be given a variable, it will be called: value
// You will also be given a variable named: greaterThanFive
// Using an 'if' statement check to see if the value is greater than 5. If it is, re-assign greaterThanFive the boolean true.

// Please write your answer in the line above.
return false;

You are viewing a single comment. View All
washingtonwill (0)

this is what i'm getting but says its incorrect.

function exerciseFour(value){
let greaterThanFive = true;
// In this exercise, you will be given a variable, it will be called: value
// You will also be given a variable named: greaterThanFive
// Using an 'if' statement check to see if the value is greater than 5. If it is, re-assign greaterThanFive the boolean true.
value = greaterThanFive;
if(greaterThanfive>5)

// Please write your answer in the line above.
return true;
}