Final
Final
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
<script>
|
||||
document.write(fixNames("the", "DALLAS", "CowBoys"))
|
||||
|
||||
function fixNames()
|
||||
{
|
||||
var s = ""
|
||||
|
||||
for (j = 0 ; j < fixNames.arguments.length ; ++j)
|
||||
s += fixNames.arguments[j].charAt(0).toUpperCase() +
|
||||
fixNames.arguments[j].substr(1).toLowerCase() + " "
|
||||
|
||||
return s.substr(0, s.length-1)
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user