source: trip-planner-front/node_modules/core-js/internals/string-trim-forced.js@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 423 bytes
Line 
1var fails = require('../internals/fails');
2var whitespaces = require('../internals/whitespaces');
3
4var non = '\u200B\u0085\u180E';
5
6// check that a method works with the correct list
7// of whitespaces and has a correct name
8module.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};
Note: See TracBrowser for help on using the repository browser.