const unary = fn => val => fn(val);
i.e.
['6', '8', '10'].map(unary(parseInt)); // [6, 8, 10]
등록된 댓글이 없습니다.
코리아뉴스 2001 - , All right reserved. 더보기