It's not the time, it's the waiting. In both
cases, ex1.get('harry')
happens first, but then it
either:
When we are dealing with network delays, we don't want the JavaScript running in our browser to sit and wait, because then it can't do anything else.
Instead, when the data comes back, JS will invoke a callback function.
So nothing sits around waiting, keeping other things from running.
Amazing! Ajax can be complicated and confusing, so I'm glad you're off to a good start.