https://school.programmers.co.kr/learn/courses/30/lessons/181908
function solution(my_string, is_suffix) { for (let i = 0; i<my_string.length; i++) { if (my_string.slice(i) === is_suffix) { return 1 } } return 0 }