Skip to content

Instantly share code, notes, and snippets.

@sakshstore
Created September 2, 2022 09:26
Show Gist options
  • Save sakshstore/7566e5b62c253e818f876988714bfb76 to your computer and use it in GitHub Desktop.
Save sakshstore/7566e5b62c253e818f876988714bfb76 to your computer and use it in GitHub Desktop.
formatFn("string") + formatFn("string");
const f = (...args) => String.raw(...args); // This returns a normal string
formatFn(f`string` + f`string`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment