NJNikhil Jhainjavascript-essential.hashnode.dev·Apr 1 · 4 min readJavaScript Modules: Import and Export ExplainedWhy Modules Are Needed Before modules, JavaScript code was often written in one large file or multiple loosely connected files. ❌ Problems with this approach: Global namespace pollutionVariables and 00
NJNikhil Jhainjavascript-essential.hashnode.dev·Mar 13 · 6 min readUnderstanding Object-Oriented Programming (OOP) in JavaScriptwhen You Create a website or app For large scale customer. Then Managing the code became more difficult. That's Where Object-oriented-programming (oop) comes. OOP allow us to organise the code into re00
NJNikhil Jhainjavascript-essential.hashnode.dev·Mar 13 · 4 min readUnderstanding Objects in JavaScriptIn JavaScript, objects are one of the most important data structures. Almost everything in JavaScript is based on objects. If you understand objects well, writing JavaScript becomes much easier. In th00
NJNikhil Jhainjavascript-essential.hashnode.dev·Mar 12 · 7 min readUnderstanding Variables and Data Types in JavaScriptWhen someone starts learning JavaScript, one of the first things they come across is variables and data types. These two ideas are very important because they allow a program to store information and 00
NJNikhil Jhainjavascript-essential.hashnode.dev·Mar 12 · 5 min readControl Flow in JavaScriptcontrol flow in JavaScript is the order in which a program's statements executed. By default code run sequentially from top to bottom but control flow allow developer to alter this order based on cond00