MCPcopy Create free account
hub / github.com/keepfool/vue-tutorials / trim

Function trim

06.Router/basic/js/vue-resource.js:282–284  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

280 }
281
282 function trim(str) {
283 return str.replace(/^\s*|\s*$/g, '');
284 }
285
286 var isArray = Array.isArray;
287

Callers 2

handlerFunction · 0.70
parseHeadersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected