Skip to main content

Timeline for Interpreting the time

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Jul 22, 2016 at 0:30 comment added Jonah oh you must be using a browser that doesn't support es6 (safari, maybe?). if you try this in chrome or firefox it will work. otherwise you have to transpile it with babel, or just rewrite the fat arrow functions to use normal js functions.
Jul 21, 2016 at 14:14 comment added dreami This is actually very close to what I'm looking for, no if's nested infinitely into one another. I do get where you are going with this code and I take that x is meant to be initialized on minutesPerUnit right? But I keep getting syntax error if I paste it just like this and 'x is not initialized' when I change => to >=. So I think I'm not too sure about what you mean to express within the .map(). Could you just rewrite those parts for me?
Jul 21, 2016 at 6:41 history answered Jonah CC BY-SA 3.0