강의

멘토링

커뮤니티

Inflearn Community Q&A

noh55242574's profile image
noh55242574

asked

Functional Programming and JavaScript ES6+

Iterable-centric programming practical code

sort 질문입니다

Written on

·

299

0

과정에는 없지만, 나이 또는 이름순으로 오름차순/내림차순으로 정렬하고 싶은경우 코드를 어떻게 풀어가야 할지 질문드립니다.

javascript함수형-프로그래밍

Answer 2

1

mduniv님의 프로필 이미지
mduniv
Instructor

[...array].sort(comparator) 와 같이 하고 있습니다. :)

0

kh님의 프로필 이미지
kh
Questioner

답변 감사합니다~

noh55242574's profile image
noh55242574

asked

Ask a question