알고리즘_JS/프로그래머스_Level1
[프로그래머스 JavaScript] 서울에서 김서방 찾기
[리우]
2021. 7. 14. 01:02
프로그래머스 Levle1 서울에서 김서방 찾기
문제 설명 : 생략
function solution(seoul) {
var answer = seoul.indexOf("Kim");
return `김서방은 ${answer}에 있다`;
}
* Level 1의 기준이 이상하네...
728x90