Skip to content

Instantly share code, notes, and snippets.

@StanAngeloff
Created July 29, 2010 15:01
Show Gist options
  • Save StanAngeloff/498339 to your computer and use it in GitHub Desktop.
Save StanAngeloff/498339 to your computer and use it in GitHub Desktop.
for i in [0..10]
switch i
when 5
( -> break)()
console.log i
for i in [0..10]
switch i
when 5
break
console.log i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment