diff options
author | Wentao Tan <35501090+BakaRice@users.noreply.github.com> | 2021-04-30 16:39:23 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2021-04-30 17:36:23 +0800 |
commit | fbc8178cce6990552004d56628a44d9d82084714 (patch) | |
tree | d272f414b16113c6d423d8e1772b80d5523f2fa7 /files/zh-cn/learn/javascript/asynchronous | |
parent | 9a993adc4a00de2859989dc5fb7f501b7f189589 (diff) | |
download | translated-content-fbc8178cce6990552004d56628a44d9d82084714.tar.gz translated-content-fbc8178cce6990552004d56628a44d9d82084714.tar.bz2 translated-content-fbc8178cce6990552004d56628a44d9d82084714.zip |
Update index.html
fix,remove duplicate words
Diffstat (limited to 'files/zh-cn/learn/javascript/asynchronous')
-rw-r--r-- | files/zh-cn/learn/javascript/asynchronous/async_await/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/learn/javascript/asynchronous/async_await/index.html b/files/zh-cn/learn/javascript/asynchronous/async_await/index.html index 60e22c6bd7..d584914106 100644 --- a/files/zh-cn/learn/javascript/asynchronous/async_await/index.html +++ b/files/zh-cn/learn/javascript/asynchronous/async_await/index.html @@ -8,7 +8,7 @@ original_slug: learn/JavaScript/异步/Async_await <div>{{PreviousMenuNext("Learn/JavaScript/Asynchronous/Promises", "Learn/JavaScript/Asynchronous/Choosing_the_right_approach", "Learn/JavaScript/Asynchronous")}}</div> -<p class="summary"><a href="/en-US/docs/Web/JavaScript/Reference/Statements/async_function">async functions</a> 和 <code><a href="/en-US/docs/Web/JavaScript/Reference/Operators/await">await</a></code> 关键字是最近添加到JavaScript语言里面的。它们是ECMAScript 2017 JavaScript版的一部分(参见<a href="/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_Next_support_in_Mozilla">ECMAScript Next support in Mozilla</a>)。简单来说,它们是基基于promises的语法糖,使异步代码更易于编写和阅读。通过使用它们,异步代码看起来更像是老式同步代码,因此它们非常值得学习。本文为您提供了您需要了解的内容。</p> +<p class="summary"><a href="/en-US/docs/Web/JavaScript/Reference/Statements/async_function">async functions</a> 和 <code><a href="/en-US/docs/Web/JavaScript/Reference/Operators/await">await</a></code> 关键字是最近添加到JavaScript语言里面的。它们是ECMAScript 2017 JavaScript版的一部分(参见<a href="/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_Next_support_in_Mozilla">ECMAScript Next support in Mozilla</a>)。简单来说,它们是基于promises的语法糖,使异步代码更易于编写和阅读。通过使用它们,异步代码看起来更像是老式同步代码,因此它们非常值得学习。本文为您提供了您需要了解的内容。</p> <table class="learn-box standard-table"> <tbody> |