Jun
19
awarded Favorite Question
Jun
18
awarded Famous Question
Jun
16
comment Why is const illegal in a switch case statement?
This was just a reduced set of code to demonstrate the problem. This is not actual code from my application. I use const instead of var or let for "variables" that I expect should never change.
Jun
16
comment Why is const illegal in a switch case statement?
Unexpected token error. My jsx-loader still has trouble building it actually.
Jun
16
revised Why is const illegal in a switch case statement?
added 77 characters in body
Jun
16
comment Why is const illegal in a switch case statement?
I had an update pending, just upgraded to 43 and now both work. Looks like this was a bug!
Jun
16
comment Why is const illegal in a switch case statement?
Google Chrome. I haven't tried firefox. Will try now.
Jun
16
comment Why is const illegal in a switch case statement?
Where do you see reassignment happening in this code? That's not the problem here.
Jun
16
comment Why is const illegal in a switch case statement?
The first uses const bar the second var bar. Did you run them with web inspector open?
Jun
16
awarded Notable Question
Jun
16
asked Why is const illegal in a switch case statement?
Jun
2
awarded Revival
May
14
comment how to upload a file from node.js
Yes I believe it did, but it's been awhile.
Apr
30
revised How can I Initialize a static Map?
guava moved to github
Apr
17
comment javascript: detect scroll end
I haven't tried it but I imagine you could just use offsetWidth, scrollWidth and scrollLeft and do something similar.
Apr
14
comment How can I get d3 server-side in Meteor?
Unless it's referencing the DOM, it should be fine. Go look at the code and see if it does.
Apr
14
answered How can I get d3 server-side in Meteor?
Apr
7
awarded Caucus
Apr
5
awarded Necromancer
Mar
17
awarded Notable Question
1 2 3 4 5