Creating A Javascript Function With If Then Statements Code Example


Example: javascript if else


var age=20;
if (age < 18) {
console.log("underage");
} else {
console.log("let em in!");
}

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy