Blog

Recent Posts

JavaScript Closures

less than 1 minute read

Closures are function which ‘remember’ the environment in which they were created. A closure is a combination of a function and the lexical environment withi...

let and const in ES6

less than 1 minute read

ECMAScript 2015 or commonly called as ES6 specification of JavaScript introduced let and const

ES6 Arrow functions

less than 1 minute read

Arrow functions are a more concise syntax for writing function expressions. They were introduced in ECMAScript 2015 (ES6). They are also called as lambda fun...

Difference between ReactJS prop vs state

less than 1 minute read

Props Props are read only. Whether a component is defined as a function or a class, it must never modify its own props. All react component must act like pur...

What are Functional components in React JS ?

less than 1 minute read

The simplest way to define a component is to write a JavaScript function. The function accepts a single “props” object and returns a React element. Such comp...

What is JavaScript Event Loop ?

1 minute read

JavaScript code runs single threaded. Javascript has a concurrency model based on an event loop. The event loop is in the heart of Node.js / Javascript - it...

Same origin policy in JavaScript

less than 1 minute read

The same-origin policy restricts how a document or script loaded from one origin can interact with a resource from another origin.