7의 개수
function solution(array) { return array.join('').split('7').length - 1; }
join('')
''
split(7)
['','','','1','']
length
-1