Javascript Callback
by Rijo R
JavaScript
let x = function() { console.log('Im not yet to be star'); };
let y = function(callback) { console.log('Yes Im star now'); callback(); };
y(x);
by Rijo R
let x = function() { console.log('Im not yet to be star'); };
let y = function(callback) { console.log('Yes Im star now'); callback(); };
y(x);