re: What’s a concept you understand now, but took you forever to grasp? VIEW POST

FULL DISCUSSION
 

How to implement exponential back off with JavaScript callbacks. Once I got it working I copied the snippet of code into my snippets notebook and always, always had to just look it up every time I needed to implement it again.

Things got easier once Promises arrived and now with async/await it’s trivial.

code of conduct - report abuse