function foo(bar, baz) { var junk; .. junk = do_stuff(bar, baz); .. return junk; }
function schmoo(stuff, junk) { this.foo = stuff; this.bar = junk; } var n = new schmoo("this is", "ridiculous");