All Stories

Web workers

Javascript is single-threaded and multiple scripts can not execute at the same time. So if we execute any heavy computation task, then sometimes our page becomes unresponsive, and the user...

Flex box

Use the following example to play around

Center aligned

Learn to center align <div> with fixed and variable width and height

Currying in Javascript

Currying is a technique of working with functions. Currying can make a function callable from f(a, b, c) to f(a)(b)(c)

Closures

An act of function which remembers its lexical scope in which it gets created is known as a closure.

HTML CSS Accessibility

Accessibility refers to web content, and a UI (user interface) that can be understood, navigated, and interacted with by a broad audience. This includes people with visual, auditory, mobility, or...

bind () implementation

bind() is use to invoke a function in JS. It allows us to -

WAI-ARIA

WAI-ARIA(Web Accessibility Initiative - Accessible Rich Internet Applications) is a technology that works by adding in further semantics that browsers and assistive technologies can recognize and let users know what...

Object.create()

Object.create() is a way to create a new object. It uses an existing object as the prototype of the newly created object.

this

this is basically a function context and its value depends on the style of function invocation.

Spread operator

Spread operator is a new operator added in ES6 version. It takes an iterable(array or string) and expands it into individual elements.

JS Input/Output Solution 6

What will be the output?

JS Input/Output Solution 4

What will happen, if we declare an array using a const and try to change one of its values?

JS Input/Output Solution 7

What is the length of an array?

JS Input/Output Solution 5

What will be the output?