SSShivani Sodhainjavacript-new.hashnode.dev路6h ago 路 8 min readFunction Declaration vs Function Expression: What鈥檚 the Difference?What are functions and why we need them馃 ? Think about Akshay Kumar's daily routine. He's known for waking up at 5 AM every morning. Now imagine if he had to open the Clock app every night and manu00
SSShivani Sodhainjavacript-new.hashnode.dev路Apr 3 路 3 min readSynchronous vs Asynchronous JavaScriptJavascript is single threaded language. So it scans the code line by line. Now it has two options before moving into the next line either it waits for the current line to completely complete it's exec00
SSShivani Sodhainjavacript-new.hashnode.dev路Mar 26 路 3 min readError Handling in JavaScript: Try, Catch, FinallyWhat errors are in javascript Errors are basically problem that prevent the code from running. It stops our running programme. Error can occur either during the run time or during the development time00
SSShivani Sodhainjavacript-new.hashnode.dev路Mar 26 路 2 min readThe new Keyword in JavaScriptWhat the new keyword does It is used to create an instance of an object from constructor function. function Person(name, age) { this.name = name; this.age = age; } const person1 = new Person("Joh00
SSShivani Sodhainjavacript-new.hashnode.dev路Mar 21 路 4 min readUnderstanding the this Keyword in JavaScriptThis keyword refers to the object that calls the function. Whoever calls the function becomes this inside that function. The value of this is not decided when the function is written. It is decided wh00