From 27b5298d26a12b2ee7f5729aabf4b710cd1779dc Mon Sep 17 00:00:00 2001 From: sejinjja Date: Sun, 12 Dec 2021 23:48:42 +0900 Subject: rid dir="rtl" from sampleCode (#3219) * rid dir="rtl" from sampleCode * Update files/ko/web/javascript/reference/global_objects/string/repeat/index.html Co-authored-by: Yeji Choi <61399588+yechoi42@users.noreply.github.com> --- .../ko/web/javascript/reference/global_objects/string/repeat/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/ko/web') diff --git a/files/ko/web/javascript/reference/global_objects/string/repeat/index.html b/files/ko/web/javascript/reference/global_objects/string/repeat/index.html index dfea5e722d..9f05562a1f 100644 --- a/files/ko/web/javascript/reference/global_objects/string/repeat/index.html +++ b/files/ko/web/javascript/reference/global_objects/string/repeat/index.html @@ -46,7 +46,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/repeat

repeat은 ECMAScript 2015 명세에 추가됐습니다. 따라서 어떤 표준 구현체에서는 사용할 수 없을 수도 있습니다. 그러나 아래 코드를 포함하면 지원하지 않는 플랫폼에서도 repeat을 사용할 수 있습니다.

-
if (!String.prototype.repeat) {
+
if (!String.prototype.repeat) {
   String.prototype.repeat = function(count) {
     'use strict';
     if (this == null) {
-- 
cgit v1.2.3-54-g00ecf