DEV Community

Discussion on: String.prototype.replace asynchronously?

Collapse
 
cp1797 profile image
Craig Pinto • Edited

Hi!

Could you give a quick example of the aReplacer function? I can't seem to figure it out

Thanks

Collapse
 
ycmjason profile image
YCM Jason

It's a function that return a promise of string. It can be any asynchronous operations. What kind of example would you like? I can make something up if you wish.