Quiz question dobut

var num1=100;

var result= num1>50 ? (num1+10)<100 ? (num1+20):(num1+50)<200 ? (num1+500):(num1+200):num1;
console.log(result).
Please explain with solution . I can face problem to understanding.

1 Like

@thakurvipinsingh2711

Hi, please ask your queries under proper category so that you will get your answer by your respective course FSR TA’s.

If you have still the same quiries for the above question, please ask the question in javascript category.

Thank you.
DS- TA