If you have read most of the blog posts of zsoltnagy.eu, you can conclude that most of the articles require at least some basic knowledge about JavaScript. The main exception is the JavaScript Basics category. This article is in the […]
Exercise: Suppose the following tables are given in the form of arrays of objects: [crayon-5df1d708f0df0449332560/] Translate the following SQL query using map, reduce, and filter: [crayon-5df1d708f0df9165296777/] You are not allowed to use loops, if statements, logical operators, or the ternary […]
Exercise: What is memoization? What are its benefits? What is the necessary condition for using memoization? Illustrate the benefits of memoization using an example. Remark: Expect these types of questions when bridging theory with practice. You need to know what […]
Exercise: Create a stopwatch that counts down from a given number of seconds in the format mm:ss. Make it possible to start, pause, and reset the countdown. Make sure you can pass a callback function to the timer that is […]
We have skipped a couple of exercises that transformed our Pomodoro app into a Kanban board. Tasks 12 - 15 are great exercises for refactoring, and you can get access to them in ES6 in Practice, but they are less […]
As some of my subscribers might already know, I was busy authoring a JavaScript course on microservices together with Packt Publishing. This kind of cooperation is always interesting, because there are fixed target dates to follow, and I tend to […]
The last few weeks made me think about renaming my book. Because ES6 was ES2015. Of course when I started writing ES6 in Practice, I included those two small ES2016 updates. Then I promised a bonus chapter on ES2017 including […]
A regular expression is converted into code executed in a virtual machine. This virtual machine runs on the virtual machine of the host language or editor. Abstract models make us understand how regular expressions are executed. Although these models often […]
Exercise: Store the state of the application in a local storage. Make sure the application state is reloaded once you refresh the page. Solution: Clone PomodoroTracker2 from my GitHub repository as a starting point. Alternatively, you can use your own […]
You might not know about me that I have conducted tech interviews with over 500 software developers from more than twenty countries with the objective of identifying and hiring the best talent. I have also been in the candidate position, […]
The article ES6 Strings and Template Literals introduced you to the syntax of ES6 strings and template literals. However, if you wanted to use ES6 template literals for microtemplating, the article itself does not help you. In this article, you […]
You might not know about me that I have conducted tech interviews with over 500 software developers from more than twenty countries with the objective of identifying and hiring the best talent. I have also been in the candidate position, […]