Javascript and timing, specifically with callbacks.
- by Blankman
I want to make sure I understand callbacks properly, and javascript timing etc. in general.
Say my code looks like this, is it gauranteed to execute in order?
SetList(); // initilizes the var _list
Some.Code(_list, function(data) {
// update list
});
DoSomething(_list); // operates on _list