Skip to content

Instantly share code, notes, and snippets.

@mattapperson
Created November 27, 2023 21:19
Show Gist options
  • Save mattapperson/82ff696ae131d1cc99dce14783f847cf to your computer and use it in GitHub Desktop.
Save mattapperson/82ff696ae131d1cc99dce14783f847cf to your computer and use it in GitHub Desktop.
const testStrings = [
" I don't want to take it.",
" I don't want to take...",
" I don't want to take away.",
" I don't want to take away",
" I don't want to take away from",
" I don't want to take away from",
" I don't want to take away from the",
" I don't want to take away from the",
" I don't want to take away from the truth!",
" to take away from the truth, that's fine, but...",
" and take away from the truth! That's fine. But I needed... ",
" away from the truth! That's fine. But I needed to hear this."
]
const expectedString = "I don't want to take away from the truth! That's fine. But I needed to hear this."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment