3 ms·
That may be the "expression closure" from "javascript 1.8" that was mentioned. When was this written? 2008? I thought ES6 was the new hotness now? It just goes
by jessaustin 11y ago
That may be the "expression closure" from "javascript 1.8" that was mentioned. When was this written? 2008? I thought ES6 was the new hotness now? It just goes to show you, if you want future-proof, code in coffeescript. [EDIT:] ...which of course didn't exist until 2009. Anyway here it is:
Color = Data -> Red: {}, Green: {}, Blue: {}, Yellow: {}