I want to implement a logic in HTML page. I am new to Angular Ts that’s why i am finding it very difficult.
var i = 0;
console.log("The number is " + i);
while (i < 5);