.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / string-html-forced.js
1 var fails = require('../internals/fails');
2
3 // check the existence of a method, lowercase
4 // of a tag and escaping quotes in arguments
5 module.exports = function (METHOD_NAME) {
6   return fails(function () {
7     var test = ''[METHOD_NAME]('"');
8     return test !== test.toLowerCase() || test.split('"').length > 3;
9   });
10 };