Skip to content

Instantly share code, notes, and snippets.

@edinsoncs
Created October 27, 2015 06:33
Show Gist options
  • Save edinsoncs/fef80aa6956bb474c834 to your computer and use it in GitHub Desktop.
Save edinsoncs/fef80aa6956bb474c834 to your computer and use it in GitHub Desktop.
Days
function state(days, message) {
return days;
return message;
}
function dias(start) {
var l = ["Lunes", "Martes", "Miercoles", "Jueves", "Viernes"];
var start = l;
return start[0];
}
function message(text) {
var text = {
a: "Hermoso Día",
b: "Cool Día",
c: "Very Good",
d: "Tranqui",
c: "Epa",
e: "Coolsi"
}
return text.a;
}
state(dias(), message());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment