W3docs

angular Quiz

Angular Basics

Question 1 of 254%

What will be the result of the below program?

function f(input: boolean) {
let a = 100;
if (input) {
let b = a + 1;
}
return b;
}
Answers