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 | 31 |
Tags
- sudo
- sts
- 설치
- Docker
- mysql error
- Oracle
- Access denied for user ''@'localhost'
- docker container
- systemd
- springboot
- join
- spring framework
- jar deploy
- 파일 시스템
- Dockerfile
- react map error
- map is not a function
- 도커
- brew install mariadb
- ps
- mysql
- springboot jar
- 관리
- DB
- mac mariadb
- install
- 도커파일
- root
- jar배포
- jdk
Archives
- Today
- Total
목록sort js (1)
Yoon.s
[javascript] split(), sort(), reverse(), join() 함수
프로그래머스 문제 '문자열 내림차순으로 배치하기'를 풀다가 알게된 함수들을 정리하겠습니다. 이 함수들만 알았어도 빠르게 풀 수 있었던 문제 ㅠㅠ split() String 객체를 지정한 구분자를 이용하여 여러 개의 문자열로 나눈다. split 괄호 안에 들어가는 것은 구분자 (1)예제는 구분자 '공백' (2)예제는 구분자 '공백없음' -> 한글자씩 떼내겠다는 것 const str = 'The quick brown fox jumps over the lazy dog.'; const words = str.split(' ');//(1) console.log(words[3]); // expected output: "fox" const chars = str.split('');//(2) console.log(char..
프론트/Javascript
2020. 9. 23. 23:58