코드 :
function without_first_end(str) { return str.substring(1, str.length - 1); } console.log(without_first_end('JavaScript')); console.log(without_first_end('JS')); console.log(without_first_end('PHP'));
결과 :
avaScrip
H
등록된 댓글이 없습니다.
코리아뉴스 2001 - , All right reserved. 더보기