[20220331 T]ToDo

devbit4 [front-end developer]·2022년 3월 30일
0

TIL

목록 보기
12/163

8 to 17 work
19 to 21 - review
21 to 23
23 to 1 - js


conditional statement

ternary operator

num%2 === 0 ? console.log("good") : console.log("bad");
=> let emoji = num%2=== 0? "good" : "bad";
console.log(emoji);

switch-case (break break break)

switch(condition){
case "1":
case "2":

}

loop statement

decle~> {} -> incre/decre ~> till condition is false

continue

ok to use if statement in while statement

do {} while()

logical operator

profile
제대로 꾸준하게 / 블로그 이전 => https://dailybit.co.kr

0개의 댓글