SyntaxError: expected expression, got '}'
조회수 577회
유다시티로 자바스크립트 학습중에 있습니다.
while문으로 작성하는 문제입니다.
다음을 출력해야하며, 제가 짠 코드는
var num = 99;
while (num>=1) {
console.log(num +" bottles of juice on the wall! " + num +" bottles of juice! Take one down, pass it around... "+(num -1) + " bottles of juice on the wall!");
}
num = num-1;
}
-
(•́ ✖ •̀)
알 수 없는 사용자 - 〉
댓글 입력