Greeting JavaScript
-
A Definitive Guide To map(), filter(), and reduce() in JavaScript
The concept of functional programming becomes more and more prevalent in mainstream languages nowadays. Even Java has lambda expression and a lot of built-in functional techniques, so why not JavaScript, […]
-
Understand Callback functions in JavaScript through examples
In modern JavaScript development, the concepts of functional programming and asynchronous programming become more and more prevalent. When talking about those terms, we usually see something like “callback” or “higher-order […]
-
JavaScript Tips & Tricks: Go Beyond console.log()
If you use the browser as your debugging tool for your JavaScript code, then the console.log can be used intensively, whether you just want to see a message from a […]
-
Double equals (==) vs. Triple equals (===) in JavaScript
JavaScript is a dynamically typed language, meaning that you don’t have to specify the type of variables when working with this language, the type of your variables can be changed later on […]
-
Binary Search Explanation and Implementation
Explained In this article, we will learn about an efficient searching algorithm for finding an item from a sorted list of items, which is a binary search. We label this […]
-
n-th Fibonacci Number: Recursion vs. Dynamic Programming
In this article, we will learn the concepts of recursion and dynamic programming by the familiar example which is finding the n-th Fibonacci number. Also at the same time, we […]
-
Greeting JavaScript: break, continue statements, while and do-while Loops
In some previous articles, we’ve learned how to use some of the for loops to loop over the array, string and so forth. In this article, we are going to […]
-
Primitive vs. Reference Value in JavaScript – What is the difference?
In some previous articles, we’ve gone through some programming concepts in JavaScript. We already know that JavaScript provides six primitive types as undefined, null, boolean, number, string, and symbol which […]
-
The Definitive Guide to the JavaScript Objects
Like arrays, objects are used to store data, but instead of storing data in a single variable and you can access its elements by index. Object grants us the collection […]