9 lines
170 B
JavaScript
9 lines
170 B
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = trim;
|
|
function trim(str) {
|
|
return str.replace(/^\s+|\s+$/g, '');
|
|
} |