Skip to content

Commit

Permalink
If and else in javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
ashu273k authored Oct 31, 2024
1 parent f90d8bd commit f13836d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Javascript/If_else.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
let firstName = "Ashu";
let gender = "Male";
if (gender == "Male") {
console.log("Hello, " + firstName);
}

0 comments on commit f13836d

Please sign in to comment.