setInterval("alert('welcome');",1000)运行结果是()。
语句setTimeout(“display”,3000);每执行一次显示方法用时()
以下代码中的输出结果是const promise1 = new Promise(function (resolve, reject) {setTimeout(function(){resolve('foo');}, 300);});promise1.then(function(){return 'bar';}).then(function (value) {console.log('hi,' + value); // 输出结果})