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
########################### | |
# IF / ELSE / ELSE IF # | |
########################### | |
You can make a block of code execute when a conditional expression is true using an if statement. | |
The conditional expression is the expression surrounded by parenethesis following the word IF. | |
#IF | |
var x = 11; |
Short link: www.bit.ly/js-courses-list (NB: if you click it from this document recursion may occur :) )
name or author | url | duration, week/month | price, rub |
---|---|---|---|
HTML Academy | https://htmlacademy.ru/intensive/javascript | 5w | 19 500 |
Ilya Kantor | 2m | 26000 |
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
CTRL T - open new tab | |
CTRL SHIFT T - reopen recently closed tab | |
CTRL C - copy text | |
CTRL V - paste text |
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
this.say(3); number | |
this.say("Ana"); string | |
var count=0; | |
while(count<0){ | |
count=count+1; | |
console.log(count); pikazuje rezultat u consoli od google croma (desni klik na Inspect i Consola) | |