Question: let first = 7 ; let second = 8 ; let isFirstBigger = first > second; console.log ( isFirstBigger ) ; / / should log:

let first =7;
let second =8;
let isFirstBigger = first > second;
console.log(isFirstBigger); // should log: false
first =16;
isFirstBigger = first > second;
console.log(isFirstBigger); // should log: true
1. Compare small and large using the < operator. Assign the result to a variable called isSmaller.
2. Compare num and string. First, use the == operator to compare the two variables, and assign the result t

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!