요? 답은 매우 복잡하고, 이 책에서 다룰 만한 내용은 아닙니다. 우리가 알아야 할 것은 단항
부정이 먼저 이루어지고 그다음에 뺄셈을 한다는 겁니다.
const
x
=
5
;
const
y
=
3
- -
x
; //
y
는
8
입니다.
같은 규칙이 단항 플러스에도 적용됩니다. 단항 플러스 연산자는 자주 사용하는 연산자는 아닙
니다. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.