source: imaps-frontend/node_modules/string.prototype.trim/index.js

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

Update repo after prototype presentation

  • Property mode set to 100644
File size: 572 bytes
Line 
1'use strict';
2
3var callBind = require('call-bind');
4var define = require('define-properties');
5var RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');
6
7var implementation = require('./implementation');
8var getPolyfill = require('./polyfill');
9var shim = require('./shim');
10
11var bound = callBind(getPolyfill());
12var boundMethod = function trim(receiver) {
13 RequireObjectCoercible(receiver);
14 return bound(receiver);
15};
16
17define(boundMethod, {
18 getPolyfill: getPolyfill,
19 implementation: implementation,
20 shim: shim
21});
22
23module.exports = boundMethod;
Note: See TracBrowser for help on using the repository browser.