2016-10-10 03:43:44 +02:00
|
|
|
'use strict';
|
|
|
|
// https://github.com/sebmarkbage/ecmascript-string-left-right-trim
|
2017-08-14 05:01:11 +02:00
|
|
|
require('./_string-trim')('trimRight', function ($trim) {
|
|
|
|
return function trimRight() {
|
2016-10-10 03:43:44 +02:00
|
|
|
return $trim(this, 2);
|
|
|
|
};
|
2017-08-14 05:01:11 +02:00
|
|
|
}, 'trimEnd');
|