If you wish to hand out a program for students to complete, you can share a URL with them from the Javascript blocks editor. 


To generate the URL, select the share button  at the top left of the editor window, select publish and copy the URL that is produced.




Give this URL to students, who can then download a copy and/or make their own edits and re-publish. You could also add comments to the blocks in the program with next steps.