Classicalobject-oriented programming (OOP)revolves around the concept of classes and instances and is widely used in languages like Java, C++, C#, and many others. A class is a blueprint or template for creating objects. It defines the structure and behavior of objects that belong to that cla...
The term first-class citizen means “being able to do what everyone else can do”. In JavaScript Objects prototype is the base prototype of all. They can be passed as reference, returned in a function, and assigned to variables for manipulation. This concept is also extended to functions as...
Let's proceed gradually here, and build up the concept. First, we could create an empty object with obj = {} or obj = new Object. Both create the same thing, an empty object. Try it in the console. The new syntax is useful when we want to create a lot of objects: obj = [];...
MDN’s JavaScript docs There are a bunch more that I came across but most seem too complex at this point in my learning. Or others belong to individuals that talk mostly about their own projects and less about the basics or the process of learning. I’ve bookmarked all of them, though,...
MDN Smaccs CSS-Tricks CSS Tutorial – Zero to Hero (Complete Course) CSS Full Course – Includes Flexbox and CSS Grid Tutorials Advanced CSS CSS is now advanced and provides using normal programming concepts with it like defining variable, functions, usingOOPs concepts, etc. There are many ext...
For a more detailed look at Promises, have a look at the fantastic MDN article. Some great resources on why and how callbacks can lead to utter non-scalable disaster exist too, check out http://callbackhell.com!The second concept, Generators, allow a runtime to return from a function ...