DDivitindivit.hashnode.dev·Apr 8 · 3 min readThe new Keyword in JavaScriptWhat the new keyword does ? In JavaScript, the new keyword is used to create an instance of a user-defined object type or a built-in object that has a constructor function. It transforms a function ca00
DDivitindivit.hashnode.dev·Apr 8 · 3 min readString Polyfills and Common Interview Methods in JavaScriptWhat are string methods? String methods are built-in functions that allow us to work with and manipulate text data easily. In most programming languages like JavaScript or Python, strings come with me00
DDivitindivit.hashnode.dev·Mar 29 · 3 min readTemplate Literals in JavaScriptProblems with traditional string concatenation In JavaScript, before ES6, developers mainly used the + operator to combine strings. While this works, it often becomes messy and hard to read, especiall00
DDivitindivit.hashnode.dev·Mar 29 · 2 min readCallbacks in JavaScript: Why They ExistWhat a callback function is ? A callback function is simply a function that is passed into another function as an argument and then executed later. Instead of calling the function immediately, you giv00
DDivitindivit.hashnode.dev·Mar 28 · 3 min readSynchronous vs Asynchronous JavaScriptWhat synchronous code means Synchronous code is the simplest way code runs. It executes step by step, in order. One line runs, finishes, and then the next line starts. Nothing moves forward until the 00