Sha256: 39c20d1ba3bc0ae0588b3642c8fd42a683e58dbbf085d2881e508b059eee384a

Contents?: true

Size: 618 Bytes

Versions: 4

Compression:

Stored size: 618 Bytes

Contents

(function(){
  var award_medals, contenders, gold, silver, the_field;
  gold = (silver = (the_field = "unknown"));
  award_medals = function award_medals(first, second) {
    var rest;
    rest = Array.prototype.slice.call(arguments, 2);
    gold = first;
    silver = second;
    return the_field = rest;
  };
  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);
  alert("Gold: " + gold);
  alert("Silver: " + silver);
  alert("The Field: " + the_field);
})();

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
haml-more-0.5.1 vendor/coffee-script/documentation/js/splats.js
haml-more-0.5.0 vendor/coffee-script/documentation/js/splats.js
haml-more-0.4.0 vendor/coffee-script/documentation/js/splats.js
haml-more-0.4.0.d vendor/coffee-script/documentation/js/splats.js