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>
This commit is contained in:
9
非对称加密-2026-09-02/promise异步任务的执行过程.js
Normal file
9
非对称加密-2026-09-02/promise异步任务的执行过程.js
Normal file
@@ -0,0 +1,9 @@
|
||||
function run_async_task() {
|
||||
return new Promise(function (resolve, reject) {
|
||||
resolve("这是异步任务执行之后得到的结果");
|
||||
});
|
||||
}
|
||||
|
||||
run_async_task().then(function (result) {
|
||||
console.log(result);
|
||||
});
|
||||
Reference in New Issue
Block a user