MCPcopy Create free account
hub / github.com/careercup/CtCI-6th-Edition-JavaScript / urlify.js

File urlify.js

chapter01/1.3 - URLify/urlify.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1var urlify = function(str, length) {
2 // have a pointer to check from start to end
3 var strArr = str.split('');
4 var pointer = 0;

Callers

nothing calls this directly

Calls 1

urlifyFunction · 0.70

Tested by

no test coverage detected