Qtr No. 213, New Town Yehlanka
Indore 454775, India
As per the below JavaScript code snippet, predict the output.
let student = { name: "John", rank: "3", course: null }
let { rank, course} = student;
if (rank !== 3) {
if (typeof(course) === null) {
console.log("HTML");
}
else if (typeof course !== "object") {
console.log("CSS");
}
else {
console.log("JavaScript");
}
}
else {
console.log("Bootstrap");
}
HTML
CSS
Bootstrap
JavaScript
To get all Infosys Certified JavaScript Professional Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee