PROGRAMMING GALAXY
Your go-to place for all things programming!!
Menu BAR
HOME
JAVA
NODEJS
C-PROGRAMS
C++ PROGRAMS
PYRAMIDS
PL/SQL
ALGORITHMS
CONTACT-US
FEEL FREE TO ASK ANY PROGRAM and please mention any error if you find it
1 Jan 2024
Node js program - IF ELSE example
# Node js program using if else statement
var a = 'route 1';
if (a === 'route 1'){
console.log ('True');
}else {
console.log ('False');
}
## When you run this program
## Output will be -
True
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment