Javascript Console.log Execution Order?
I have code that looks something like this: function pathfind (start,end,map) { this.Init = function () { this.open_node = new Array(); this.open_node.push(st
Solution 1:
After further research I found that console.log doesn't execute immediately in Chrome. Hence the outdated reports.
Solution 2:
Your code executes pathfind function that returns undefined(and it should be this way) but you wait for result from this.Init function. Should probably execute it instead of pathfind.
Post a Comment for "Javascript Console.log Execution Order?"