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 |
Tags
- 객체
- 회고
- 1일1문장
- CSS
- 클로저
- Machine Learning
- coursera
- javascript
- scope
- 개발공부
- 자바스크립트
- 리눅스
- nodejs
- 스파르타코딩클럽
- Til
- Sequence
- React
- HTTP
- Linux
- 자료구조
- 끈기
- NextJS
- docker
- 데이터전송
- ES6
- 우선순위
- multer
- Andrew Ng
- reactnative
- 러닝자바스크립트
Archives
- Today
- Total
해나아부지 개발일지
Mutable vs Immutable 본문
큰 범주로 나누면 표와 같은 속성으로 나눌 수 있다
Mutable | Immutable |
Objects Arrays Functions Classes Maps Sets
|
Numbers Strings Null Undefined Booleans
|
Array의 Method 들 중에
1) Mutable(원본의 요소가 바뀌는 Method)
array.pop() array.push() array.shift() array.unshift() array.splice()
2) Immutable
1)Method 제외 하고 거의 다라고 볼 수 있다(예외 케이스 몇 개 제외)
'Developers > JavaScript' 카테고리의 다른 글
Math.Random()을 이용한 임의의 정수, 문자열 리턴하기 (0) | 2020.05.05 |
---|---|
map vs filter vs reduce (0) | 2020.04.29 |
알쓸신잡(1) (0) | 2020.04.28 |
1-4. 배열(Array) (0) | 2020.04.25 |
1-3.함수(functions) (0) | 2020.04.16 |
Comments