Sometimes, you will meet cases where there’s too much if-else. Then, you would use switch-case. But it’s still too much. Is there another way? In JavaScript, there is. Read more to find out.

All posts about codes. Here, you will find articles and tutorials about software programming. It could be anything from Regex, Git, JavaScript, Node.JS, and so much more. Enjoy the reading and let me know if there’s anything I can improve on!
Sometimes, you will meet cases where there’s too much if-else. Then, you would use switch-case. But it’s still too much. Is there another way? In JavaScript, there is. Read more to find out.
JavaScript is an ever evolving language that it gives the programmers some creativity to code more elegantly the more it updates. Here are some of the tricks you can apply.
In this post, I will share about some of the git commands I use daily. It has been part of my daily job as a programmer, and I hope these commands will be useful to you too, whether you want to use it daily or studying to pass a job interview.
ES2020 has already been finalized! In this post, I share some of the useful features we can already expect from the latest update in JavaScript.
What is the difference between var, let, and const in JavaScript? In this post, I will share about the difference in them, and recommendation on which to use.
In this post, I shared about some simple regex implementation using JavaScript. It consists of built-in JavaScript functions, and implementations in some real life use cases. Oh, as usual I also included the code snippets, so you will be more convinced that the code is working. Click on the title to read more…
I made this post as a sub-topic for the main “Simple Regex Implementation in JavaScript” post, but it was getting too long as I covered quite a lot about regex lookahead. This post includes step-by-step understanding of lookahead in regex and code snippets to practice and implement yourself. Click on the title to read more…
My first tutorial in this blog! Regex might seem difficult to understand, but if we break it down to little pieces, it’s actually quite easy. I covered some basic things with examples beginners need to know about regex: the base syntax, flags, and character classes. Click on the title to read more…