diff options
author | alattalatta <urty5656@gmail.com> | 2021-05-23 23:00:15 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-23 23:00:15 +0900 |
commit | 26bb6bea485bb329d74411531d2edba2453afcc8 (patch) | |
tree | a26d12261338269eaba20f12e945884e9e5ab7cc /files/ko/web/javascript/reference/iteration_protocols | |
parent | bd7d51f8284bbbf840dae6b54d9b5c24af2e3eff (diff) | |
download | translated-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/iteration_protocols')
-rw-r--r-- | files/ko/web/javascript/reference/iteration_protocols/index.html | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/files/ko/web/javascript/reference/iteration_protocols/index.html b/files/ko/web/javascript/reference/iteration_protocols/index.html index bddc56a50f..d0c8a55456 100644 --- a/files/ko/web/javascript/reference/iteration_protocols/index.html +++ b/files/ko/web/javascript/reference/iteration_protocols/index.html @@ -283,110 +283,6 @@ aGeneratorObject[Symbol.iterator]() === aGeneratorObject; // [1, 2, 3] </pre> -<h2 id="Browser_compatibility">Browser compatibility</h2> - -<div>{{CompatibilityTable}}</div> - -<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 (WebKit)</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatChrome(39.0)}}</td> - <td>{{CompatGeckoDesktop("27.0")}}</td> - <td>{{CompatNo}}</td> - <td>26</td> - <td>{{CompatNo}}</td> - </tr> - <tr> - <td><code>IteratorResult</code> object instead of throwing</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("29.0")}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</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>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("27.0")}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatChrome(39.0)}}</td> - </tr> - <tr> - <td><code>IteratorResult</code> object instead of throwing</td> - <td>{{CompatNo}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("29.0")}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<h2 id="Firefox-specific_notes">Firefox-specific notes</h2> - -<h3 id="IteratorResult_object_returned_instead_of_throwing"><code>IteratorResult</code> object returned instead of throwing</h3> - -<p>Starting with Gecko 29 {{geckoRelease(29)}}, the completed generator function no longer throws a {{jsxref("TypeError")}} "generator has already finished". Instead, it returns an <code>IteratorResult</code> object like <code>{ value: undefined, done: true }</code> ({{bug(958951)}}).</p> - -<h3 id="Iterator_property_and_iterator_symbol"><code>Iterator</code> property and <code>@@iterator</code> symbol</h3> - -<p>From Gecko 17 (Firefox 17 / Thunderbird 17 / SeaMonkey 2.14) to Gecko 26 (Firefox 26 / Thunderbird 26 / SeaMonkey 2.23 / Firefox OS 1.2) the <code>iterator</code> property was used (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=907077">bug 907077</a>), and from Gecko 27 to Gecko 35 the <code>"@@iterator"</code> placeholder was used. In Gecko 36 (Firefox 36 / Thunderbird 36 / SeaMonkey 2.33), the <code>@@iterator</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol">symbol</a> got implemented (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=918828">bug 918828</a>).</p> - -<h2 id="Specifications">Specifications</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('ES6', '#sec-iteration', 'Iteration')}}</td> - <td>{{Spec2('ES6')}}</td> - <td>Initial definition.</td> - </tr> - <tr> - <td>{{SpecName('ESDraft', '#sec-iteration', 'Iteration')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td> </td> - </tr> - </tbody> -</table> - <h2 id="See_also">See also</h2> <ul> |