Skip to content

Instantly share code, notes, and snippets.

@jacobshenning
Created November 17, 2017 19:09
Show Gist options
  • Save jacobshenning/d6c40b908c5213702079dd80d81465c7 to your computer and use it in GitHub Desktop.
Save jacobshenning/d6c40b908c5213702079dd80d81465c7 to your computer and use it in GitHub Desktop.
A JavaScript Function to see if a string is longer than 10 characters
// Determines if the string length is greater than 10. Mainly just testing out GitHub Gists
function StringLengthOverTen(string) {
return string.length > 10;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment