Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
handler
Function · 0.70
parseHeaders
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected