Skip to content

Instantly share code, notes, and snippets.

@vdeturckheim
Created July 11, 2018 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vdeturckheim/94638fde9432f6c2f7f185c926e34699 to your computer and use it in GitHub Desktop.
Save vdeturckheim/94638fde9432f6c2f7f185c926e34699 to your computer and use it in GitHub Desktop.
export function _includes(a: string, b: string): bool {
return a.includes(b);
}
export function run(): void {
for (let i = 0; i < 10000; ++i) {
_includes('hello', 'llo')
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment