Files
tulin-code/非对称加密-2026-09-02/promise异步任务的执行过程.js
Whale-Fall-Code 418a0411d1 Initialize encryption and JavaScript reverse-engineering study repository
Document the project structure and setup while excluding local dependencies and IDE settings.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-09 23:25:05 +08:00

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);
});