Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function isPalindrome(string){
- string = string.toLowerCase();
- var charArr = string.split('');
- charArr.forEach( char => {
- console.log(char);
- })
- console.log(charArr.length)
- }
- isPalindrome("İris");
- i
- ̇ <- what is this ?
- r
- i
- s
- 5
Add Comment
Please, Sign In to add comment