Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / string-html-forced.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/string-html-forced.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/string-html-forced.js
new file mode 100644 (file)
index 0000000..d3c884f
--- /dev/null
@@ -0,0 +1,10 @@
+var fails = require('../internals/fails');
+
+// check the existence of a method, lowercase
+// of a tag and escaping quotes in arguments
+module.exports = function (METHOD_NAME) {
+  return fails(function () {
+    var test = ''[METHOD_NAME]('"');
+    return test !== test.toLowerCase() || test.split('"').length > 3;
+  });
+};