Created
November 1, 2017 12:00
-
-
Save shuma/1787dd2a4a3c31213801cb1e983cdcbc to your computer and use it in GitHub Desktop.
Synkron JS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let result = GetResult("SELECT * FROM DATABASE"); // Här "stannar" körningen tills metoden är klar | |
// Här forsätter sedan programmet, när förra metoden körts klart och all data är hämtad. | |
DoSomeThingWithResult(result); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment