Quotes help make search much faster. Example: "Practice Makes Perfect"

Monday, May 1, 2017

Codefights Sample Solution checkPalindrome


function checkPalindrome(inputString) {
    reverseString = inputString.split("").reverse().join("");
    if(inputString===reverseString){
        return true;
    } else {
        return false;
    }
}

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts