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/set/has/index.html | 52 +--------------------- 1 file changed, 2 insertions(+), 50 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/set/has') diff --git a/files/zh-cn/web/javascript/reference/global_objects/set/has/index.html b/files/zh-cn/web/javascript/reference/global_objects/set/has/index.html index 0174ccd5bc..12c6ad6073 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/set/has/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/set/has/index.html @@ -35,7 +35,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Set/has

使用 has 方法

-
var mySet = new Set();
+
var mySet = new Set();
 mySet.add('foo');
 
 mySet.has('foo');  // 返回 true
@@ -68,55 +68,7 @@ set1.add({'key1': 1}); // 现在 set1 中有2条(不同引用的)对象了浏览器兼容性
 
-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support38{{CompatGeckoDesktop("13.0")}}11257.1
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatNo() }}38{{CompatGeckoMobile("13.0")}}{{ CompatNo() }}{{ CompatNo() }}iOS 8
-
+{{Compat}}

相关连接

-- cgit v1.2.3-54-g00ecf