Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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==='sondra') {
- return false;
- }
- // Please write your answer in the line above.
- return isSondra;
- }
Advertisement
Add Comment
Please, Sign In to add comment