반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- BOJ
- 투포인터
- 스택
- MYSQL
- 다익스트라
- 운영체제
- 에라스토테네스의 체
- 재귀
- level2
- python
- dfs
- 파이썬
- 가상메모리 관리
- level1
- 프로그래머스
- N과M
- 가상메모리
- 다이나믹 프로그래밍
- 브루트포스
- DP
- 코딩테스트
- 힙
- level3
- 딕셔너리
- BFS
- 백준
- programmers
- 수학
- 구현
- 그리디
Archives
- Today
- Total
동캄의 코딩도장
JS [operators] 본문
반응형
Immutable type : primitive type, frozen objects
Mutable type: all objects by default are mutable in JS
Operator
1. String concatenation
2. Numeric operators
3. Increment and decrement operators
4. Assignment operators
5. Comparison operators
6. Logical operators
-연산이 간단한 operation이 앞으로 오도록 배치
7. Equlity
== loose equality with type conversion (타입 상관 x)
=== strict equllity no type conversion (같은 타입인지 검사)
8. If operators
9. Ternary operator
사용법: condition ? value1 : value2
ex) console.log(name==='ellie' ? 'yes': 'no');
10. switch statement
11. Loops
- while
- do while
- for
- nested loops
반응형
'front > HTML&CSS&JS' 카테고리의 다른 글
JS [Class] (0) | 2022.01.24 |
---|---|
JS [function] (0) | 2022.01.23 |
JS [variable] (0) | 2022.01.23 |
html [emmet] (0) | 2022.01.22 |
css [flex box 모델] (0) | 2022.01.22 |