조건문 (1) 썸네일형 리스트형 Java Script 기초 강의 5 - by. 코딩앙마 5. 연산자 1) 기본연산자 See the Pen Untitled by Eun-yeong Shin (@Rachael_S) on CodePen. See the Pen Untitled by Eun-yeong Shin (@Rachael_S) on CodePen. See the Pen Untitled by Eun-yeong Shin (@Rachael_S) on CodePen. [보충] 감소연산자의 경우 let num = 10; let result = num--; (변화X) >> console.log(result); 10 let result = --num; (감소한 값이 결과에 포함, 변화O) >> console.log(result); 9 * ++, -- 부호가 두 번 붙었다고 해서 +2, -2가 아니라 1씩 증.. 이전 1 다음