subject

Compare userNumber with compareNumber and display 'Numbers are not equal' if the numbers are different. Then, display 'Variables are not identical' if the variables are not identical (not strictly equal). 1 var compareNumber = 3; // Code will be tested with: 3, 8, 42 2 var userNumber = '3'; // Code will be tested with: '3', 8, 'Hi' 4 if(userNumber se compareNumber){ 5 console. log("Variables are identical"); 6 7 else if(user Number 1 = compareNumber){ 8 console. log("Numbers are not equal"); 9 ] 10 else? 12 } 2 Check Try again X Testing log when compareNumber = 3 and userNumber = "3" Yours and expected differ. See highlights below. Yours Yours has no output Expected variables are not identical X Testing log when compareNumber = 8 and user Number = "9" Yours and expected differ. See highlights below. Yours Variables are identical Expected Expected no output X Testing log when compareNumber = 42 and user Number = "Hi". Yours and expected differ. See highlights below. Special character legend Yours Numbers are not equal Expected Numbers are not equal Variables are not identicale

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
When you mouse over and click to add a search term this(these) boolean operator(s) is(are) not implied. (select all that apply)?
Answers: 1
question
Computers and Technology, 22.06.2019 23:50
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
You know the right answer?
Compare userNumber with compareNumber and display 'Numbers are not equal' if the numbers are differe...
Questions
question
Spanish, 19.02.2020 20:15
question
Mathematics, 19.02.2020 20:15
question
Mathematics, 19.02.2020 20:15