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 and x0lg0n committed Oct 31, 2024
1 parent 9211f0e commit 473f9cd
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 473f9cd

Please sign in to comment.