All 86 Comments
re: Functional programming basics part 1: Pure function Sep 13
@tuxOr There is nothing to do with the signature of a func...
re: Limit concurrent asynchronous calls Sep 13
This is nice! 👍👍👍
re: Limit concurrent asynchronous calls Sep 11
Thanks!! Benjamin's reply is accurate! :)
re: Limit concurrent asynchronous calls Sep 11
oh, I mistyped haha! Thanks for catching this! asyncLimit ...
re: Limit concurrent asynchronous calls Sep 11
But we need the async function fn to complete before resolv...
re: Array Chunking Aug 11
This is because Array.prototype.splice does whatever it doe...
re: Array Chunking Aug 11
because IMO that's not more elegant. I think guard clause...
re: Array Chunking Aug 10
Nothing beats a recursive solution when it comes to eleganc...
re: My point of "vue" in React vs. Vue Jul 31
Andddddd Vue is created by Evan You. Jason Yu loves Vue.
re: JavaScript Quiz Part 2 Jul 9
reverseStr = ss => [ss].reduce(([...ss]) => ss.revers...
re: Do you know about these SVG techniques? Jul 3
You cannot use SVG as a favicon yet. So... there is at leas...
re: VIDEO: Understanding this with call, apply and bind Jun 25
Pretty cool Gissur. Also check out my post about this :p ...
re: Github Guesser - A Starry Game - 2 weeks of data Jun 22
Quite cool! Thanks for sharing this! But the stars doesn't ...
re: Let me explain to you what is `this`. (Javascript) Jun 19
Haha! Ok, maybe a little less. I just went crazy and keep o...
re: What are your programming blogs? Jun 19
Dev.to is where i put my blog. I also host the posts on my ...
re: Let me explain to you what is `this`. (Javascript) Jun 17
Awww thanks so much! :D
re: Concurrent Iteration Jun 17
I think what would be really nice to have is, instead of Pr...
re: Let me explain to you what is `this`. (Javascript) Jun 17
I could add this in the note. Not sure where to fit it in t...
re: Let me explain to you what is `this`. (Javascript) Jun 16
I have changed "caller" to "definer", which makes more sens...
re: Let me explain to you what is `this`. (Javascript) Jun 16
You are absolutely right. I always suggest python as the fi...
re: Let me explain to you what is `this`. (Javascript) Jun 16
Oh yes you are right, let me update it later. Thanks for th...
re: Let me explain to you what is `this`. (Javascript) Jun 16
😁😁 that is a huge compliment thanks!
re: Let me explain to you what is `this`. (Javascript) Jun 16
It makes code a little bit more reasonable. Babel has impl...
re: Let me explain to you what is `this`. (Javascript) Jun 16
I am lucky I was just 3 years old at that time. 😌😌
re: Let me explain to you what is `this`. (Javascript) Jun 16
Great question. You are getting Window because you are not ...
re: JavaScript: Equality insanity, or where x === 1 && x === 2 Jun 16
I got the second answer!! 😎😎
re: Let me explain to you what is `this`. (Javascript) Jun 15
Thanks! :) I am glad the memes worked out ok
re: Follow Friday! Jun 15
Follow me follow me!🤣
re: Looks like Vue.js will likely out-star React over the weekend! Jun 15
Sarah is amazing. But ya, once you have seen how Vue works...
re: Looks like Vue.js will likely out-star React over the weekend! Jun 15
So have u started looking at Vue yet? Be quick :)
re: How do I use .forEach on DOM Elements? Jun 8
Wait, is this true? Eventually, I realized that timestamp...
re: Vue vs React May 9
I personally consider the following when it comes to choosi...
re: My attempt on asyncToGenerator() May 6
Nice work! It's just a proof of concept I guess. We all us...
re: How to use inline JavaScript with HTML? You definitely like really bad code Apr 8
Haha, yes JSX is horrible code. 😂😂
re: vue.js modules in the browser, the cheap way Apr 6
Interesting idea! Thank you for sharing this. Just a few J...
re: Javascript fetch, retry upon failure. Mar 28
It's alright, copy and pasting isn't very hard. Only thing ...
re: How to make functions partially applicable in Javascript Mar 11
Thanks for clarifying this! I did do my research before dec...
re: goto - navigate to aliased directories Mar 7
This make sense! Quite cool quite cool.
re: goto - navigate to aliased directories Mar 7
Seems interesting. Just wondering why not just setting an ...
re: Explain Vue.js like I'm five Mar 7
It's like the elder wand in harry potter which makes websit...
re: Introducing Faviator: A simple easy favicon generator Mar 5
Haha! Thanks! Give me a star if you like it! :D
re: Is `this` in Javascript bad? Mar 5
I am guessing when you do obj.fn in typescript, you still l...
re: Is `this` in Javascript bad? Mar 4
that's not a great argument, but I like your thinking! xD
re: Show me your .gitignore Mar 4
Can I do a promote a tool here for those who like building ...
re: Here is a little script to grab a list of all font names on Google Fonts. Mar 4
looks like something similar exists. npmjs.com/package/jso...
re: Here is a little script to grab a list of all font names on Google Fonts. Mar 3
Stay tuned. I will make one. :P
re: Here is a little script to grab a list of all font names on Google Fonts. Mar 3
Hmm, I haven't look into jq yet, but I don't feel that jq i...
re: Is `this` in Javascript bad? Mar 3
the only advantage that I could think of using this is the ...
re: Here is a little script to grab a list of all font names on Google Fonts. Mar 3
Ya, but I guess some how want to run this script every time...
re: Is `this` in Javascript bad? Mar 3
This I think really depend on the design of your system. ...
re: Here is a little script to grab a list of all font names on Google Fonts. Mar 3
Hahahaa.. thanks!! XD
re: Your developer timeline Feb 27
Haha! I even tried to make a login system with Dreamweaver ...
re: Tell Your Story: Has your application been hacked? Feb 27
SQL injection :( I made the website when I was still very ...
re: Introducing Faviator: A simple easy favicon generator Feb 27
Ohhh finally someone replying haha Thanks! Gradient is def...
re: Your developer timeline Feb 26
It's funny, I have always wanted to deny learning anything ...
re: Your developer timeline Feb 26
I started quite young, maybe at around 13? Year Elapsed...
re: Why not to use setInterval Feb 20
How about making an async version of setInterval? Something...
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: How to organise NPM scripts in package.json? Jan 29
Yes! Although it isn't really a solution, it does the trick...
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...