How to replace text in JavaScript

How to replace text in JavaScript

Working with text or strings in JavaScript is really interesting. In fact text or “String” as it is called in JavaScript is the most common data type that a JavaScript programmer would encounter quite often. And many a times your would come across...
What are source maps?

What are source maps?

With all the optimization techniques like bundling and minification etc getting important and popular it is good that we talk about Source Maps now. Think of this, once you bundle all the css files you have to one single file, how do you know which part of CSS was...
How to empty an array in JavaScript ?

How to empty an array in JavaScript ?

Arrays are widely and commonly used in JavaScript. Especially if you are developing a dynamic app, there are very high chances that you might use Arrays in JavaScript. However, many a times I’ve noticed that people don’t use the Array related methods...