if (moji[0] == "abc"[0] && moji[1] == "abc"[1] && moji[2] == "abc"[2])
だろ