Skip to content
JS Generators Cover

JavaScript generators

Generators are yet another addition to the JS standard introduced in the ES6 edition of the language. Generators are a new addition to JavaScript, although they have been existing in other programming languages such as Python, PHP, and C#. What is a generator? Generators are… Read More »JavaScript generators

This and Arguments in JS

Using this and arguments

Apart from parameters being explicitly defined inside the function definition, there are two additional silent parameters getting passed down to the function itself. These silent parameters are called implicit parameters: this and arguments. They are not listed in the signature of any function but can… Read More »Using this and arguments

Cover for the JavaScript Memoization article

JavaScript memoization

We can use the internal workings of functions to remember previously computed values, thus improving the performance of code we write by a huge margin (this is an especially important thing to utilize during algorithm writing/coding interviews). Memoization Memoization is a technique that improves the… Read More »JavaScript memoization

Browser Event Handling Cover

Browser event handling

Another feature of the web is that applications have a functional response to user’s interaction, such as clicking, moving the mouse, typing on the keyboard, and using the scroll. Apart from creating the DOM, the browser is responsible for event handling during the page-building process.… Read More »Browser event handling