Categories
Codes Javascript

Use This Instead Of If-Else and Switch-Case in JavaScript

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.

Categories
Codes Javascript

20 JavaScript Tricks You Might Not Know Yet

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.

Categories
Codes Git

Daily Git Commands You Should Know

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.

Categories
Codes Javascript

New Exciting Features in JavaScript ES2020

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.

Categories
Codes Javascript

JavaScript: var, let, const

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.

Categories
Codes Javascript Regex

Simple Regex Implementation In Javascript

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…

Categories
Codes Regex

Regex: Lookahead

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…

Categories
Codes Regex

Regex For Starters

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…