KLkomal lodhiinkomalwebdev.hashnode.dev·Apr 29 · 3 min readArrow Functions in JavaScript: A Simpler Way to Write FunctionWhen you need to create a function in JavaScript, the main method is to use the function keyword followed by the function name as shown below: function greetings(name) { console.log(`Hello, ${name}!00
KLkomal lodhiinkomalwebdev.hashnode.dev·Apr 28 · 3 min readAsync Code in Node.js: Callbacks and PromisesNode.js is a single-threaded, non-blocking runtime built on JavaScript that allows developers to handle multiple operations efficiently using asynchronous programming. Instead of waiting for tasks lik00
KLkomal lodhiinkomalwebdev.hashnode.dev·Mar 12 · 4 min readControl Flow in JavaScript: If, Else, and Switch Explained1.What control flow means in programming Control flow refers to the order in which statements within a program execute. While programs typically follow a sequential flow from top to bottom, there are 00
KLkomal lodhiinkomalwebdev.hashnode.dev·Mar 11 · 3 min readJavaScript Operators: The Basics You Need to Know1.What operators are JavaScript operators are symbols or keywords used to perform operations on values and variables. They are the building blocks of JavaScript expressions and can manipulate data in 00
KLkomal lodhiinkomalwebdev.hashnode.dev·Mar 11 · 2 min readFunction Declaration vs Function Expression: What’s the Difference?1.What functions are and why we need them Functions are reusable blocks of code used to perform a specific task. Functions are a set of instructions bundled together to achieve a specific outcome. 00