YouTube Stitch

By DarkJedi613 Last update Oct 19, 2008 — Installed 1,294 times.

Post doesn't exist

Small improvement

in
Subscribe to Small improvement 2 posts, 2 voices



JoeSimmons Scriptwright

You can put commas on the multiple 'var' lines instead of doing 'var ' on every line. For example, you could do:

var one = 1,
two = 2,
three = 3;

instead of

var one = 1;
var two = 2;
var three = 3;

 
DarkJedi613 Script's Author

Generally I prefer to put the var there for each line as it makes it more readable for me (i.e. the names of the variables line up as opposed to var for "one" lining up with "two" and "three").

Its a stylistic thing really, it doesn't matter much.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel