.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / string-trim-forced.js
1 var fails = require('../internals/fails');
2 var whitespaces = require('../internals/whitespaces');
3
4 var non = '\u200B\u0085\u180E';
5
6 // check that a method works with the correct list
7 // of whitespaces and has a correct name
8 module.exports = function (METHOD_NAME) {
9   return fails(function () {
10     return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;
11   });
12 };