Browse Source

兼容检测取消flat flatMap

vian 5 năm trước cách đây
mục cha
commit
5a9e7d506c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      public/web/syntax-detection.js

+ 2 - 2
public/web/syntax-detection.js

@@ -112,8 +112,8 @@ function checkSyntax() {
             'keys',
             'values',
             'entries',
-            'flat',
-            'flatMap',
+            //'flat', // es2019
+            //'flatMap',
             'includes'
         ];
         var arrayStaticFuncs = [