Evaluate some complex expressions of JavaScript
The answer pattern should be step by step
check the PDF attachment
The questions as follows
a += 3;
let b = 5;
b -= a;
(a < 1) || (b >= 1) && (a != b)
(combinedName === George) || (George !== “George”) &&(combinedName === “Conquerer”) || (nickname === 42)
sentence.substring(4,9) === “world” && sentence.length < 20 && sentence.length > 5 && sentence.substring(0,3) === “The world is red”.substring(0,3);
let bearTrap; “The variable bigCar has the value : “+ bigCar + “, while variable bearTrap is ” + bearTrap + “If I compare bearTrap with undefined I get ” + bearTrap===undefined
Sample Solution