Python-like string interpolation in JavaScript


/ Published in: JavaScript
Save to your folder(s)

This is a script [tweeted by @gregmuellegger](http://twitter.com/gregmuellegger/status/16618146398). Example usage: Supports f("Hello %s.", ["World"]) and f("Hello %(name)s.", {name: "World"})

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.