摘要: function getData(callback){ setTimeout(function(){ var name = '张三'; callback(name) },1000); } getData(function(aaa){ console.log(aaa) }) 阅读全文
posted @ 2020-11-02 19:18 fnasklf 阅读(74) 评论(0) 推荐(0) 编辑