🕊 Link

Lv1. 같은 숫자는 싫어 Javascript
https://programmers.co.kr/learn/courses/30/lessons/12906

🧑🏻‍💻 Code(javascript)

function solution(arr) {
  return arr.filter((item, index) => item !== arr[index + 1]);
}

💡 Solution

  • 설명 생략

👨🏻‍💻💭 Self Feedback

filter, index


  • 2021.04.17 - 최초 작성

댓글 환영 질문 환영
by.protect-me

profile
protect me from what i want

0개의 댓글

관련 채용 정보