-
发表于:2022-05-15
async一般来说是一个加在函数前的修饰符,被async定义的函数通常会默认返回一个Promise对象resolve的值。因此对async函数是能够直接进行then的,其返回值也就是通过then方法传入的函数。...
-
发表于:2024-01-09
<linkrel="stylesheet"href="https://js.how234.com/third-party/SyntaxHighlighter/shCoreDefault.css"type="text/css"/><scripttype="text/javascript"src="https://js.how234.com/...
-
发表于:2022-01-22
async一般来说是一个加在函数前的修饰符,被async定义的函数通常会默认返回一个Promise对象resolve的值。因此对async函数是能够直接进行then的,其返回值也就是通过then方法传入的函数。...