I have two corresponding lists: addresses and descriptions.
In JS, I’m using a 3rd-party API method: Foo(addresses, FooCallback);
I wrote a FooCallback that gets an array of gecodings. I want to match any gecoding[i] with description[i] inside my FooCallback. What is the best design to do so?
You could use a closure to save the state of
i: