aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/javascript/reference/global_objects/generator/index.html
diff options
context:
space:
mode:
authoralattalatta <urty5656@gmail.com>2021-05-23 23:00:15 +0900
committerGitHub <noreply@github.com>2021-05-23 23:00:15 +0900
commit26bb6bea485bb329d74411531d2edba2453afcc8 (patch)
treea26d12261338269eaba20f12e945884e9e5ab7cc /files/ko/web/javascript/reference/global_objects/generator/index.html
parentbd7d51f8284bbbf840dae6b54d9b5c24af2e3eff (diff)
downloadtranslated-content-26bb6bea485bb329d74411531d2edba2453afcc8.tar.gz
translated-content-26bb6bea485bb329d74411531d2edba2453afcc8.tar.bz2
translated-content-26bb6bea485bb329d74411531d2edba2453afcc8.zip
[FIX] Get rid of {{CompatibilityTable}} from JavaScript (#918)
* Add browser-compat to JS pages with legacy compat * Get rid of {{CompatibilityTable}} from JavaScript
Diffstat (limited to 'files/ko/web/javascript/reference/global_objects/generator/index.html')
-rw-r--r--files/ko/web/javascript/reference/global_objects/generator/index.html85
1 files changed, 8 insertions, 77 deletions
diff --git a/files/ko/web/javascript/reference/global_objects/generator/index.html b/files/ko/web/javascript/reference/global_objects/generator/index.html
index d29b282355..5e74777a6d 100644
--- a/files/ko/web/javascript/reference/global_objects/generator/index.html
+++ b/files/ko/web/javascript/reference/global_objects/generator/index.html
@@ -9,6 +9,7 @@ tags:
- Legacy Iterator
- Reference
translation_of: Web/JavaScript/Reference/Global_Objects/Generator
+browser-compat: javascript.builtins.Generator
---
<div>{{JSRef}}</div>
@@ -83,83 +84,13 @@ console.log(it.send(10)); // 20
console.log(it.close()); // undefined
console.log(it.next()); // throws StopIteration (as the generator is now closed)</pre>
-<h2 id="명세">명세</h2>
-
-<table class=" standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- <tr>
- <td>{{SpecName('ES2015', '#sec-generator-objects', 'Generator objects')}}</td>
- <td>{{Spec2('ES2015')}}</td>
- <td>Initial definition.</td>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-generator-objects', 'Generator objects')}}</td>
- <td>{{Spec2('ESDraft')}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="브라우저_호환성">브라우저 호환성</h2>
-
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(39.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(39.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(39.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+<h2 id="specifications">명세</h2>
+
+<p>{{Specifications}}</p>
+
+<h2 id="browser_compatibility">브라우저 호환성</h2>
+
+<p>{{Compat}}</p>
<h2 id="같이_보기">같이 보기</h2>