Skip to content

Instantly share code, notes, and snippets.

View binoculars's full-sized avatar

Barrett Harber binoculars

View GitHub Profile
'use strict'; // avoid ambiguity and sloppy errors
/**
* Tests wether or not a given string is a Palindrome
* @param {string} stringToTest - the string to test.
* @returns {boolean}
*/
function isPalindrome(stringToTest) {
var start = 0;