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
- descendingOrder
- react hook
- type
- useEffect
- DB2
- isSquare
- JDBC
- codewars
- custom hook
- manifest.json
- Debug
- TABLESPACE
- IBM
- TypeScript
- react
- codewar
- java api
Archives
- Today
- Total
taesik
makes this string uppercasegives it sorted in alphabetical order by last name. 본문
functions and trick/typescript_javascript
makes this string uppercasegives it sorted in alphabetical order by last name.
taesikk 2022. 1. 25. 15:21
function meeting(s) {
let string = s.toUpperCase().split(';')
.map(x => x.split(':').reverse().join(', '))
.sort()
.join(')(')
return '(' + string + ')'
}
'functions and trick > typescript_javascript' 카테고리의 다른 글
| string replace using regex (0) | 2022.01.26 |
|---|---|
| isValidIP (0) | 2022.01.26 |
| Sum of numbers from 0 to N (0) | 2022.01.25 |
| how many times father see kid's falling and bouncing ball (0) | 2022.01.25 |
| Write Number in Expanded Form (0) | 2022.01.25 |