ABAbhishek Badolainjavascript-cohort-2026.hashnode.dev·Apr 2 · 4 min readCallbacks in JavaScript: Why They Exist ?What are Functions in JavaScript Think of a function as a reusable block of code that can perform a specific task and can be used multiple times by the user. We use them to avoid repeating code, makin00
ABAbhishek Badolainjavascript-cohort-2026.hashnode.dev·Apr 2 · 5 min readTemplate Literals in JavaScriptIn JavaScript, strings are declared by enclosing text in single quotes, double quotes, or backticks(template literal), and assigned to a variable using var, let, or const. Example: String Literal (Tra00
ABAbhishek Badolainjavascript-cohort-2026.hashnode.dev·Mar 23 · 4 min readArray Flatten in JavaScriptWhat is an Array ? An Array is an ordered collection of values. The values can be any of the data types like number,string ,object,symbol, arrays etc. Think of it like a fruit of basket having differe00
ABAbhishek Badolainjavascript-cohort-2026.hashnode.dev·Mar 21 · 4 min readBrowser Events and Event PhasesBrowser Events Any actions that is performed on the webpage which can be detected with the help of JavaScript and act on it are known as Browser events. An event can be triggered by a user action, lik00
ABAbhishek Badolainjavascript-cohort-2026.hashnode.dev·Mar 19 · 4 min readJavaScript Modules: Import and Export ExplainedModules in JavaScript Let's try to break the concept of a module with a real-life example. Suppose there is a Ticket Booking app. If the developer has put all the code of the app in one file, then the00