Question on Lambda Pre course
1Voice90 (0)

I am a student of Lambda School. I recently got accepted . I am completing the precourse does anyone want to help me with question i have about math,properties and global objects.

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

@theangryepicbanana i used==== . = is for assignment. that was a type.

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.
if(greaterThanFive >5)
// Please write your answer in the line above.
return greaterThanFive;
}

function exerciseFive(name){
let isSondra = false;
// In this exercise, you will be given a variable, it will be called: name
// You will also be given a variable named: isSondra
// Using an 'if' statement check to see if the name is equal to the string 'Sondra'. If it is, re-assign isSondra the boolean true.
if(name ===)

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