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