-
-
Save creyn/24ce005f860eb1cb529cffd06e64e591 to your computer and use it in GitHub Desktop.
Droga Programisty : Kod : IF ELSEIF w JavaScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var liczba = 5; | |
if (liczba == 4) { | |
console.log('liczba jest rowna 4'); | |
} | |
else if (liczba == 5) { | |
console.log('liczba jest rowna 5'); | |
} | |
else { | |
console.log('to jakas inna liczba'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment