What do these logical expressions evaluate to? a. true && true b. true || false
ID: 3806181 • Letter: W
Question
What do these logical expressions evaluate to?
a. true && true
b. true || false
c. false && !(true)
d. !(false) && !(false)
Write a script that prompts for a string of text and alerts the string made up of this value appended to itself twice. For example, if the user inputs "ho", your script should alert "hohoho". If the user inputs "888", your script should alert"888888888"..
Requirement # Requirements 3What do these logical expressions evaluate to?
a. true && true
b. true || false
c. false && !(true)
d. !(false) && !(false)
Explanation / Answer
problem 3:
a. true
b. true
c. false
d. true
problem 4:
var x = prompt("Enter a string");
alert(x +x +x);
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.