Skip to content

Instantly share code, notes, and snippets.

@MorenoMdz
Created July 22, 2018 02:19
Show Gist options
  • Select an option

  • Save MorenoMdz/b4518d9db41aa62e28df45409c90f3c6 to your computer and use it in GitHub Desktop.

Select an option

Save MorenoMdz/b4518d9db41aa62e28df45409c90f3c6 to your computer and use it in GitHub Desktop.
ES6 Limit to 25 char display.
p= store.description.split(' ').slice(0, 25).join(' ')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment