source: imaps-frontend/node_modules/core-js/internals/string-trim-forced.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 2 weeks ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 549 bytes
Line 
1'use strict';
2var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;
3var fails = require('../internals/fails');
4var whitespaces = require('../internals/whitespaces');
5
6var non = '\u200B\u0085\u180E';
7
8// check that a method works with the correct list
9// of whitespaces and has a correct name
10module.exports = function (METHOD_NAME) {
11 return fails(function () {
12 return !!whitespaces[METHOD_NAME]()
13 || non[METHOD_NAME]() !== non
14 || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
15 });
16};
Note: See TracBrowser for help on using the repository browser.