삼항연산자 A ? B : C A의 조건이 True면 B // False 일땐 C를 실행하는것임 삼항연산자로 flat long shadow를 만든 예는 이거 : https://aosceno.tistory.com/528 삼항연산자로 Flat Long Shadow 만들기 (HTML/CSS/vanilla JS) 원본 소스 https://www.youtube.com/watch?v=xrmdn1t5moA HTML 1 2 3 4 5 6 7 8 9 10 11 12 삼항연산자 HELLO WORLD Colored by Color Scripter cs CSS 1 2 3 4 5 6 7 8 9 10 11.. aosceno.tistory.com 즉 const a = true; 일때 if(a){ console.log('참이에용');..