diff --git a/session1/index_extra.js b/session1/index_extra.js index 5c36e0f4..2f875f9a 100644 --- a/session1/index_extra.js +++ b/session1/index_extra.js @@ -60,6 +60,16 @@ function isPalindrome(str) { // } // } // return isPali + + + // CONTRIBUTED SOLUTION + // By Mateus Kuritza + // strReverse = str.split("").reverse().join(""); + // if(str === strReverse){ + // return true + // }else{ + // return false + // } // CONTRIBUTED SOLUTION // for (i=0; i