Skip to content

Instantly share code, notes, and snippets.

@sidneylimafilho
Created July 21, 2011 02:42
Show Gist options
  • Save sidneylimafilho/1096402 to your computer and use it in GitHub Desktop.
Save sidneylimafilho/1096402 to your computer and use it in GitHub Desktop.
Splat coffeescript sample in Javascript
var corrida = function(){
var vencedor = [].shift.call(arguments);
var competidores = [].slice.call(arguments);
alert(competidores);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment