File: multiple_return_values.js

package info (click to toggle)
coffeescript 1.10.0~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,292 kB
  • sloc: makefile: 62
file content (8 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
// Generated by CoffeeScript 1.10.0
var city, forecast, ref, temp, weatherReport;

weatherReport = function(location) {
  return [location, 72, "Mostly Sunny"];
};

ref = weatherReport("Berkeley, CA"), city = ref[0], temp = ref[1], forecast = ref[2];