I don't think this will work, when I just tried to add a property in a template function I get:
TypeError: Cannot define property foo, object is not extensible
Cool idea thoughYou don't add properties to the strings object, but use is as a key into a WeakMap.
The strings object doesn't seem to differ based on call site.
> f = l => l
[Function: f]
> f`hi` === f`hi`
true
Tagged template literals already give us something of a callsite, since the template strings object is cached per callsite. You could do something ugly and use that to associate state: