불 대수: 일상적인 논리를 수학적으로 표현한 것 일반 수학의 값, 숫자 불 대수의 값, 진리값 진리값: 어떤 명제가 참인지, 거짓인지를 나타내는 것. 가능한 값은 true와 false 두 가지 뿐이다. 일반 수학의 연산 : + -* / 불 대수의 연산: AND, OR, NOT 명제: 참 또는 거짓이 확실한 문장 AND 연산: X와 Y가 모두 참일 때만 X AND Y 가 참 OR 연산: X와 Y 중 하나라도 참이면 X OR Y는 참 NOT 연산: true면 false로 false면 true로
// 문자열 console.log("He said \"I'm Iron man\"") // He said "I'm Iron man" console.log('He said "I\'m Iron man\"') // He said "I'm Iron man" console.log("He said \"I\'m Iron man\"") // He said "I'm Iron man" console.log('He said \"I\'m Iron man\"') // He said "I'm Iron man" console.log(`He said "I'm Iron man"`) // He said "I'm Iron man" console.log('3'+'5') // 35
// 거듭제곱 console.log(2 ** 3) // 나머지 console.log(7 % 3); // 덧셈 console.log(1 + 8); // 뺄셈 console.log(6 - 7); // 곱셈 console.log(2 * 2); // 나눗셈 console.log(5 / 2); 자바스크립트는 숫자형태의 값에 기본적인 사칙연산이 가능하다. 자바스크립트는 일반적인 사칙연산의 우선순위 규칙을 따른다. console.log(2 + 3 * 2) // 8 console.log((2 + 3) * 2) // 10
- Total
- Today
- Yesterday
- redux-thunk
- 참조형 데이터
- foreach
- 불변 객체
- 비교 연산자
- filter
- find
- redux
- redux-middleware
- null
- redux thunk
- undefined
- 타입변환
- 기본형 데이터
- some
- 얕은복사
- redux middleware
- 동적(dynamic) 언어
- EVERY
- findindex
- 느슨한 타입(loosely typed)
- map
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |