[코드워즈] 1. List Filtering
·
개발/TIL;
문제 문자열과 숫자열이 섞인 배열에서 숫자만 필터링하여 새로운 배열로 리턴하기. www.codewars.com/kata/53dbd5315a3c69eed20002dd Codewars: Achieve mastery through challenge Codewars is where developers achieve code mastery through challenge. Train on kata in the dojo and reach your highest potential. www.codewars.com 내 풀이 function filter_list(l) { let result = []; for (let i = 0; i < l.length; i++) { if(typeof(l[i]) === 'number') {..