const toNumbers = arr => arr.map(Number); // Or const toNumbers = arr => arr.map(x => +x); // toNumbers(['2', '3', '4']) returns [2, 3, 4]
등록된 댓글이 없습니다.
코리아뉴스 2001 - , All right reserved. 더보기