There is a kind of answer without CharCodeAt?
(My english is intermediary, sorry);
Are you working on a challenge?
Can you paste your full code and link to the challenge?
You must actually copy and paste your code into a reply, because we do not have access to the code on your curriculum pages.
It is a doubt, i just want to know if has other kind of answer without charCodeAt. In the hints, only has answers with charCodeAt.
Yes, there are ways of doing it without charCodeAt.
Yeah you can create array and check if current position is equal.