happening. Later I will convert the ASCII value using fromCharCode() & return it. Can anyone please help?
why do you need to print it twice?
The console.log in the function is just for debugging
what is your goal? you just want the charcode for each letter?
No. Let's say, a string 'abce'. I need to return 'd' as the missing letter
okay.. what is the expected result for 'ae'? ['b','c','d']?
Yes. But not directly. The result will be 98, 99, 100 . Then I'll convert them to character & return them as concatenated string
Обсуждают сегодня