Guest User

Untitled

a guest
Dec 7th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. function isPalindrome(string){
  2. string = string.toLowerCase();
  3. var charArr = string.split('');
  4.  
  5. charArr.forEach( char => {
  6. console.log(char);
  7. })
  8. console.log(charArr.length)
  9. }
  10.  
  11. isPalindrome("İris");
  12.  
  13. i
  14. ̇ <- what is this ?
  15. r
  16. i
  17. s
  18. 5
Add Comment
Please, Sign In to add comment