Document the project structure and setup while excluding local dependencies and IDE settings. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
9 lines
227 B
JavaScript
9 lines
227 B
JavaScript
function run_async_task() {
|
|
return new Promise(function (resolve, reject) {
|
|
resolve("这是异步任务执行之后得到的结果");
|
|
});
|
|
}
|
|
|
|
run_async_task().then(function (result) {
|
|
console.log(result);
|
|
}); |