문제링크 : First Letter to Appear Twice
/**
* @param {string} s
* @return {character}
*/
var repeatedCharacter = function(s) {
const alArr = [];
for(let al of s) {
if(alArr.includes(al)) {
return al
} else {
alArr.push(al)
}
}
};