Before getting into the topic let us understand what is a composite data type.

Composite Data Types:

As the name suggests composite data types can hold collections of different data types.

Objects, Array, and Functions (which are eventually objects) are composite data types.

Variables that are assigned to these composite…

--

--

Objects:

Objects in JavaScript, just as in many other programming languages, can be compared to objects in real life. The concept of objects in JavaScript can be understood with real life, tangible objects.

In JavaScript, an object is a standalone entity, with properties and type. Compare it with a cup…

--

--

Nowadays everyone owns a Pc or a laptop for their work or just for Netflix and chill!

But Have you ever wonder what happens in the background when you type in a random URL in the address bar 🔍 of any web browser.

This is how it works after clicking the search button:

  1. The browser looks up the IP address for the domain name via DNS.
  2. The browser sends an HTTP request to the server.
  3. The server sends back an HTTP response.
  4. The browser begins rendering the HTML.
  5. The browser sends requests for additional objects embedded in HTML (images/pngs/gifs, CSS, JavaScript) and 🔁 steps 3–5.
  6. Once the page is loaded, the browser sends further async requests as needed.
HTTP request/response image.
The HTTP request/response cycle.

--

--