Skip to content

Instantly share code, notes, and snippets.

@MeetMartin
Created March 5, 2019 01:43
Show Gist options
  • Save MeetMartin/0578c46e1d9ebca59dbf5c2121b68926 to your computer and use it in GitHub Desktop.
Save MeetMartin/0578c46e1d9ebca59dbf5c2121b68926 to your computer and use it in GitHub Desktop.
import TextTransformation from '../src/text-transform-class';
cont textTransformation = new TextTransformation('bug');
console.log(textTransformation.makeImportant());
// output: Bug!
console.log(textTransformation.makeUnimportant());
// output: bug!.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment