whip

Untitled

Mar 26th, 2019
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. function exerciseFive(name){
  2. let isSondra = false;
  3. // In this exercise, you will be given a variable, it will be called: name
  4. // You will also be given a variable named: isSondra
  5. // 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.
  6.  
  7. if (name==='sondra') {
  8. return false;
  9.  
  10. }
  11. // Please write your answer in the line above.
  12. return isSondra;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment