in ECMAScript by
Q:

What will be printed if the following code is executed?

let x=150;

if(x>100)

{

x=1;

}

console.log(x);

(1)1

(2)150

(3)Error

(4)100

▼ Show 1 Answer

0 votes
by
answer is 1
Learn More with Madanswer

Related questions

0 votes
asked Jan 21, 2020 in ECMAScript by GeorgeBell
...