[LeetCode]3. Longest Substring without repeating characters (javascript)

if(checked[s[i]]) 부분에서 위치가 0일때도 안나왔던 것처럼 인식해서 애먹었다; ㅠ undefi...