사용자 도구

사이트 도구


wiki:javascript:javascript_note:js_operators

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
wiki:javascript:javascript_note:js_operators [2021/04/20 19:13]
emblim98 [표]
wiki:javascript:javascript_note:js_operators [2023/01/13 18:44] (현재)
줄 47: 줄 47:
 산술 연산자(Arithmetic Operators)는 숫자에 대한 산술을 수행하는 데 사용됩니다.\\ 산술 연산자(Arithmetic Operators)는 숫자에 대한 산술을 수행하는 데 사용됩니다.\\
 \\ \\
-^ Operator                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^ Description             ^ + 
-| +                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Addition (더하기)          | +^ Operator  ^ Description                           ^ 
-| -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Subtraction (빼기)        | +| %%+%%     | adddtion(더하기)                         | 
-| *                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Multiplication (곱하기)    | +| %%-%%     | subtraction(빼기)                       | 
-| **        | Exponentiation (거듭제곱) (ES2016)           | | /         | Division (나누기)                           | | %         | Modulus (Division Remainder) (나눗셈의 나머지)  | | ++        | Increment (증가)                           | | --        | Decrement (감소)                           | \\  =====JavaScript Assignment Operators=====  할당 연산자(또는 대입 연산자)는 %%JavaScript%% 변수에 값을 할당합니다.\\   \\   | Operator  ^ Example   ^ Same As     ^  | =         | x = y     | x = y       |  | +=        | x += y    | x = x + y   |  | -=        | x  -= y   | x = x - y   |  | *=        | x *= y    | x = x * y   |  | /=        | x /= y    | x = x / y   |  | %=        | x %= y    | x = x % y   |  | **=  | x ** = y  | x = x ** y  |+| %%*%%     | Multiplication(곱하기)                   | 
 +| %%**%%    | Exponentiation(거듭제곱)                  | 
 +| %%/%%     | Division(나누기)                         | 
 +| %         | Modulus(Division Remainder) 나눗셈의 나머지  | 
 +| %%++%%    | Invcrement (증가)                       | 
 +| %%--%%    | Decrement (감소)                        | 
 + 
 + 
 +=====JavaScript Assignment Operators===== 
 +할당 연산자(Assignment operators)는 %%JavaScript%% 변수에 값을 할당합니다.\\ 
 +\\ 
 + 
 +| Operator  ^ Example       ^ Same As         ^ 
 +| %%=%%     | %%x = y%%     | %%x = y%%       | 
 +| %%+=%%    | %%x += y%%    | %%x = x + y%%   | 
 +| %%-=%%    | %%x -= y%%    | %%x = x - y%%   | 
 +| %%*=%%    | %%x *= y%%    | %%x = x * y%%   | 
 +| %%/=%%    | %%x /= y%%    | %%x = x / y%%   | 
 +| %%%=%%    | %%x %= y%%    | %%x = x % y%%   | 
 +| %%**=%%   | %%x ** = y%%  | %%x = x ** y%%  | 
 \\ \\
 **덧셈 할당** 연산자(''+='')는 변수에 값을 더합니다.\\ **덧셈 할당** 연산자(''+='')는 변수에 값을 더합니다.\\
줄 105: 줄 125:
 논리 연산자(Logical Operators)\\ 논리 연산자(Logical Operators)\\
 \\ \\
-^ Operator  ^ Description              |   |                         | +^ Operator  ^ Description              ^ 
-| &&        | logical and ( 논리곱 연산자 )  |   |                         | +| &&        | logical and ( 논리곱 연산자 )  | 
-|                                     ||   | logical or ( 논리합 연산자 )  | +| %%||%%    | logical or ( 논리합 연산자 )   | 
-| !         | logical not              |   |                         |+| !         | logical not              |
 \\ \\
 =====JavaScript Type Operators===== =====JavaScript Type Operators=====
/volume1/web/dokuwiki/data/attic/wiki/javascript/javascript_note/js_operators.1618913598.txt.gz · 마지막으로 수정됨: 2022/03/10 19:52 (바깥 편집)