GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — ToyProblems/capitalize.js at master · patrickford/ToyProblems Expand file tree/ Copy pathcapitalize.jsMore file actions 14 lines (14 loc) · 290 Bytes / Copy pathcapitalize.jsFile metadata and controls14 lines (14 loc) · 290 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 function capitalize(string) { var capNeeded = false; for (var i=0; i<string.length; i++) { if (string[i] === " ") { capNeeded = true; } else { if capNeeded { string[i] = string[i].toUpperCase(); capNeeded = false; } } } return string; } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |