All 28 Comments

re: How to organise NPM scripts in package.json? Feb 14
I definitely agree with you. A build/ directory is definite...
re: Which is faster: obj.hasOwnProperty(prop) vs Object.keys(obj).includes(prop) Jan 31
Try a bigger object, say with 20000 keys.
re: Which is faster: obj.hasOwnProperty(prop) vs Object.keys(obj).includes(prop) Jan 31
interesting, is this running on node?
re: Named functions vs Functions as variables in JavaScript Jan 30
They are used differently as they behave differently. This ...
re: Wrote a very fast URL shortener Jan 30
Running a database on your current server probably is the b...
re: Defense Against the Dark Arts: CSRF Attacks Jan 29
Wow! How vivid this is! An I the only one who attempt to go...
re: Wrote a very fast URL shortener Jan 29
I am curious. Why would file io be any faster than database...
re: Which is faster: obj.hasOwnProperty(prop) vs Object.keys(obj).includes(prop) Jan 29
I bet it has to be Object.hasOwnProperty. Depending on the...
re: Javascript fetch, retry upon failure. Jan 29
Yup. Thank you for pointing out that! In my case, I only w...
re: Javascript fetch, retry upon failure. Jan 29
Haha, I see what you mean. But I guess I wouldn't worry so...
re: Javascript fetch, retry upon failure. Jan 29
Have I not changed the code? I thought I changed it all? ...
re: How to organise NPM scripts in package.json? Jan 29
Yes! Although it isn't really a solution, it does the trick...
re: Javascript fetch, retry upon failure. Jan 29
I have added some changes. Tell me if it looks good? :D
re: Javascript fetch, retry upon failure. Jan 29
I guess I wanted to do this in the Redundant promise sectio...
re: Javascript fetch, retry upon failure. Jan 29
Well, I just checked it and it says clearly on here. devel...
re: Javascript fetch, retry upon failure. Jan 29
You are quite right! Let me make some changes! Cheers!
re: Javascript fetch, retry upon failure. Jan 29
Wow! I am surprised you know about my lyrics thing! Yes, th...
re: Javascript fetch, retry upon failure. Jan 29
Ya, I couldn't think of a way of doing that elegantly. I th...
re: Javascript fetch, retry upon failure. Jan 29
Yes! But it's quite a difficult o…e unless they use asyn aw...
re: How to create range in Javascript Jan 6
It's just personal taste I guess. I think code with less lo...
re: How to create range in Javascript Jan 6
What do you think about it? I have implemented.
re: How to create range in Javascript Jan 5
Haha! I totally understand what you mean. But still since E...
re: How to create range in Javascript Jan 5
Yes! You are right! I will add a generator implementation a...
re: How to create range in Javascript Jan 5
On the other hand, I am a big fan of Haskell. And we tend t...
re: How to create range in Javascript Jan 5
I am quite against writing all functions as arrow functions...
re: How to elegantly flatten a list Dec 7 '17
my favourite quote of all time!
re: How to elegantly flatten a list Dec 7 '17
It is interesting! There are a few points about your soluti...
re: What are some useful npm packages I might not know about? Sep 30 '17
npmjs.com/package/gitignorer
loading...