Difference between revisions of "Star"
From CodeStuff
(Created page with "<edcode> var bob="hi there"; print (bob); function star(Q) { return "*"+Q+"*"; } </edcode>") |
|||
| Line 2: | Line 2: | ||
var bob="hi there"; | var bob="hi there"; | ||
| − | print (bob); | + | print (star(bob)); |
function star(Q) { | function star(Q) { | ||
return "*"+Q+"*"; | return "*"+Q+"*"; | ||
} | } | ||
| − | |||
</edcode> | </edcode> | ||