1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

CoffeeScript 0.5.6

This commit is contained in:
Jeremy Ashkenas 2010-03-23 00:18:50 -04:00
parent 94185e3f70
commit 590c069158
36 changed files with 744 additions and 457 deletions

View file

@ -3,10 +3,11 @@
gold = (silver = (the_field = "unknown"));
award_medals = function award_medals(first, second) {
var rest;
rest = Array.prototype.slice.call(arguments, 2);
rest = Array.prototype.slice.call(arguments, 2, arguments.length - 0);
gold = first;
silver = second;
return the_field = rest;
the_field = rest;
return the_field;
};
contenders = ["Michael Phelps", "Liu Xiang", "Yao Ming", "Allyson Felix", "Shawn Johnson", "Roman Sebrle", "Guo Jingjing", "Tyson Gay", "Asafa Powell", "Usain Bolt"];
award_medals.apply(this, contenders);