aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/javascript/reference/global_objects/object/preventextensions/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/web/javascript/reference/global_objects/object/preventextensions/index.html')
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/object/preventextensions/index.html98
1 files changed, 5 insertions, 93 deletions
diff --git a/files/zh-tw/web/javascript/reference/global_objects/object/preventextensions/index.html b/files/zh-tw/web/javascript/reference/global_objects/object/preventextensions/index.html
index da1dc83526..2a06e61d0c 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/object/preventextensions/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/object/preventextensions/index.html
@@ -73,99 +73,11 @@ Object.preventExtensions(1);
<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('ES5.1', '#sec-15.2.3.10', 'Object.preventExtensions')}}</td>
- <td>{{Spec2('ES5.1')}}</td>
- <td>Initial definition. Implemented in JavaScript 1.8.5.</td>
- </tr>
- <tr>
- <td>{{SpecName('ES6', '#sec-object.preventextensions', 'Object.preventExtensions')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td> </td>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-object.preventextensions', 'Object.preventExtensions')}}</td>
- <td>{{Spec2('ESDraft')}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="瀏覽器相容度">瀏覽器相容度</h2>
-
-<div>{{CompatibilityTable}}</div>
-
-<div>
-<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("6")}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>{{CompatIE("9")}}</td>
- <td>{{CompatOpera("12")}}</td>
- <td>{{CompatSafari("5.1")}}</td>
- </tr>
- <tr>
- <td>ES6 behavior for non-object argument</td>
- <td>{{CompatChrome("44")}}</td>
- <td>{{CompatGeckoDesktop("35.0")}}</td>
- <td>{{CompatIE("11")}}</td>
- <td>{{CompatOpera("31")}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div>
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>ES6 behavior for non-object argument</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("35.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Specifications}}
+
+<h2 id="瀏覽器相容性">瀏覽器相容性</h2>
+
+{{Compat}}
<h2 id="閱讀更多">閱讀更多</h2>