UNPKG

166 BJavaScriptView Raw
1/*
2string:clean
3*/"use strict"
4
5var trim = require("./trim")
6
7var clean = function(self){
8 return trim((self + "").replace(/\s+/g, " "))
9}
10
11module.exports = clean