re: Why you shouldn't reassign values in JavaScript VIEW POST

VIEW FULL DISCUSSION
 

I would totally not use a function but instead an object like:

Hair={"monday":"bangs",
"Tuesday":"braids"};
and so on...

return Hair[today];

code of conduct - report abuse