How to implement an exponential backoff retry strategy in Javascript ...

How to implement an exponential backoff retry strategy in Javascript ...