From d44f5032d0f53256b2d5aef505d6b593fd3cd158 Mon Sep 17 00:00:00 2001 From: Irvin Date: Wed, 16 Feb 2022 02:14:18 +0800 Subject: fix yari h2m dry run errors (zh-CN) --- .../reference/global_objects/encodeuri/index.html | 93 ++-------------------- 1 file changed, 8 insertions(+), 85 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/encodeuri') diff --git a/files/zh-cn/web/javascript/reference/global_objects/encodeuri/index.html b/files/zh-cn/web/javascript/reference/global_objects/encodeuri/index.html index 1bb8380c20..1a54a66c42 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/encodeuri/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/encodeuri/index.html @@ -22,13 +22,12 @@ translation_of: Web/JavaScript/Reference/Global_Objects/encodeURI
URI
一个完整的URI.
-
-

返回值

- -

    一个新字符串, 表示提供的字符串编码为统一资源标识符 (URI)。

-
+

返回值

+ +

    一个新字符串, 表示提供的字符串编码为统一资源标识符 (URI)。

+

描述

假定一个URI是完整的URI,那么无需对那些保留的并且在URI中有特殊意思的字符进行编码。

@@ -40,8 +39,8 @@ translation_of: Web/JavaScript/Reference/Global_Objects/encodeURI - - + + @@ -79,87 +78,11 @@ console.log(encodeURI('\uDFFF'));

规范

-
类型包含类型包含
保留字符
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
规范状态备注
{{SpecName('ES3')}}{{Spec2('ES3')}}初始定义
{{SpecName('ES5.1', '#sec-15.1.3.3', 'encodeURI')}}{{Spec2('ES5.1')}} 
{{SpecName('ES6', '#sec-encodeuri-uri', 'encodeURI')}}{{Spec2('ES6')}} 
{{SpecName('ESDraft', '#sec-encodeuri-uri', 'encodeURI')}}{{Spec2('ESDraft')}} 
+{{Specifications}}

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari
基础功能{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
特性AndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基础功能{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat}}

相关链接

-- cgit v1.2.3-54-g00ecf