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
- 스크롤이벤트
- map
- reactnative
- TS
- app:compiledebugkotlin
- forwardref type
- interface
- reactnative error
- async
- array
- materialicons
- Filter
- 안드로이드빌드에러
- 배열중복요소제거
- Spring
- npm에러
- 슬라이딩윈도우
- javascript
- app.post
- generic
- mainapplication.kt
- react
- 리액트네이티브아이콘
- err_connection_refused
- 이진탐색
- extends
- Next.js
- 상속
- 타입스크립트
- set
Archives
- Today
- Total
목록reduce (1)
rhanziy
javascript. Array배열2(filter, map, reduce, ...)
'use strict'; { // 배열 값을 join하여 출력, join(seperator)는 optional // 배열의 모든 요소를 연결해 하나의 문자열로 만든다. const fruits = ['apple','banana','orange']; const result = fruits.join(' and '); console.log(result); } { // make an array out of a string 문자열을 배열로 변환 // seperator 필수! 어떤걸 기준으로 쪼갤지 // limit은 optional > 출력 개수 const fruits = '🍕,🍔,🍟,🌭'; const result = fruits.split(','); console.log(result); } { // make thi..
Html_css_js
2022. 1. 23. 00:05