Building a replaceAllAsync in TypeScript
I love the replaceAll string API in JavaScript, as it makes replacing a string far more intuitive than the “good old” global regular expression. This week I had to replace strings with the results of async calls. Yeah, that is not supported by any API in standard JavaScript.