diff options
| author | Irvin <irvinfly@gmail.com> | 2022-02-16 02:03:27 +0800 |
|---|---|---|
| committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
| commit | 012ee621791b6895e637f96e6523027951768f25 (patch) | |
| tree | 29cfacc0d5092af45870dcc74f22feb8b2664fbf /files/zh-cn/web/javascript/reference/statements/function_star_ | |
| parent | ba91b017421b001cd226135612a7bd5dfcd88904 (diff) | |
| download | translated-content-012ee621791b6895e637f96e6523027951768f25.tar.gz translated-content-012ee621791b6895e637f96e6523027951768f25.tar.bz2 translated-content-012ee621791b6895e637f96e6523027951768f25.zip | |
remove inline style for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/statements/function_star_')
| -rw-r--r-- | files/zh-cn/web/javascript/reference/statements/function_star_/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/statements/function_star_/index.html b/files/zh-cn/web/javascript/reference/statements/function_star_/index.html index 90794ec0d4..0ee47b290d 100644 --- a/files/zh-cn/web/javascript/reference/statements/function_star_/index.html +++ b/files/zh-cn/web/javascript/reference/statements/function_star_/index.html @@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Statements/function* --- <div>{{jsSidebar("Statements")}}</div> -<p><code><strong>function*</strong></code> 这种声明方式(<code style="font-style: normal;">function</code>关键字后跟一个星号)会定义一个<strong><em>生成器函数</em> (</strong><em>generator function</em><strong>)</strong>,它返回一个 {{jsxref("Global_Objects/Generator","Generator")}} 对象。</p> +<p><code><strong>function*</strong></code> 这种声明方式(<code>function</code>关键字后跟一个星号)会定义一个<strong><em>生成器函数</em> (</strong><em>generator function</em><strong>)</strong>,它返回一个 {{jsxref("Global_Objects/Generator","Generator")}} 对象。</p> <div>{{EmbedInteractiveExample("pages/js/statement-functionasterisk.html")}}</div> |
