aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/javascript/reference/global_objects/string/endswith/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/string/endswith/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/string/endswith/index.html')
-rw-r--r--files/ko/web/javascript/reference/global_objects/string/endswith/index.html83
1 files changed, 8 insertions, 75 deletions
diff --git a/files/ko/web/javascript/reference/global_objects/string/endswith/index.html b/files/ko/web/javascript/reference/global_objects/string/endswith/index.html
index d78645e9f3..1a2e048e79 100644
--- a/files/ko/web/javascript/reference/global_objects/string/endswith/index.html
+++ b/files/ko/web/javascript/reference/global_objects/string/endswith/index.html
@@ -2,6 +2,7 @@
title: String.prototype.endsWith()
slug: Web/JavaScript/Reference/Global_Objects/String/endsWith
translation_of: Web/JavaScript/Reference/Global_Objects/String/endsWith
+browser-compat: javascript.builtins.String.endsWith
---
<div>{{JSRef}}</div>
@@ -56,81 +57,13 @@ console.log(str.endsWith('to be', 19)); // true
}
</pre>
-<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-string.prototype.endswith', 'String.prototype.endsWith')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td>Initial definition.</td>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-string.prototype.endswith', 'String.prototype.endsWith')}}</td>
- <td>{{Spec2('ESDraft')}}</td>
- <td></td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="브라우저_호환성">브라우저 호환성</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>Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("41")}}</td>
- <td>{{CompatGeckoDesktop("17")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatSafari("9")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<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>{{CompatNo}}</td>
- <td>{{CompatChrome("36")}}</td>
- <td>{{CompatGeckoMobile("17")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<h2 id="specifications">명세</h2>
+
+<p>{{Specifications}}</p>
+
+<h2 id="browser_compatibility">브라우저 호환성</h2>
+
+<p>{{Compat}}</p>
<h2 id="관련문서">관련문서</h2>