Here is my code:\[code\]function render(){ var el; setTimeout(function(){ func(); },1000); return el; }function func(){ //do something here;}\[/code\]setTimeout is async, so el will be returned before execute func.I want to return el after calling func, how should I write the callback function?Thanks