MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-578597.js

File recipe-578597.js

recipes/JavaScript/578597_Trimming_strings/recipe-578597.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1//anonymous function
2(function() {
3 this.trim = function($) { return $.replace(/^\s+|\s+$/g, ''); };
4 this.lTrim = function($) { return $.replace(/^\s+/, ''); };

Callers

nothing calls this directly

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected