IN Java script we use if and else for conditional statements.
we declare a varaiable with a initial value and we give a condition using if ,If the condition is fullfilled the contents of operations inside the brackets would be executed and if the conditions is failed then else would be executed.
let i=0
if i<=10{
console.log(i)
i++
}else
{
exit
}.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)