Skip to content

Instantly share code, notes, and snippets.

Last active November 7, 2020 18:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lumosmind/71e29b2ab9982cec0147e66e9f30da8b to your computer and use it in GitHub Desktop.
const id = 21;
const callback = function(data1){
//1. callback fonksiyon gövdesi
//asenkron kod
getData(22, function(data2){
//2. callback fonksiyon gövdesi
getData(23, function(data3){
//3. callback fonksiyon gövdesi
getData(24, function(data4){
//4. callback fonksiyon gövdesi
getData(25, function(data5){
//5. callback fonksiyon gövdesi
getData(26, function(data6){
getData(id, callback);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment