영상
개념
<script>
/*
[개념] 연산자우선순위
[1] ()
[2] * / %
[3] + -
[4] =
*/
let x = 10;
x = x + 1;
console.log(x);
document.write(x + "<br>");
let y = 10;
y = y + 1;
console.log(y);
document.write(y + "<br>");
</script>
Java
복사