Q701. What is optional chaining?
According to MDN official docs, the optional chaining operator (?.) permits reading the value of a property located deep within a chain of connected objects without havin...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (780 available).
According to MDN official docs, the optional chaining operator (?.) permits reading the value of a property located deep within a chain of connected objects without havin...
Below are the list of some of the features provided by create react app. 1. React, JSX, ES6, Typescript and Flow syntax support. 2. Autoprefixed CSS 3. CSS Reset/Normaliz...
According to ECMAScript specification 262 (9.1): > [Environment Record](https://262.ecma-international.org/12.0/#sec-environment-records) is a specification type used to ...
It is possible to check if a variable is an array instance using 3 different ways, 1. Array.isArray() method: The `Array.isArray(value)` utility function is used to deter...
Pass-by-value creates a new space in memory and makes a copy of a value. Primitives such as string, number, boolean etc will actually create a new copy. Hence, updating o...
JavaScript language has both primitives and non-primitives but there are few differences between them as below, | Primitives | Non-primitives | | ------------------------...
The custom bind function needs to be created on Function prototype inorder to use it as other builtin functions. This custom function should return a function similar to ...
Some of the major differences between pure and impure function are as below, | Pure function | Impure function | | ----------------------------------- | -----------------...
An expression in javascript that can be replaced by its value without affecting the behaviour of the program is called referential transparency. Pure functions are refere...
A side effect is the modification of the state through the invocation of a function or expression. These side effects make our function impure by default. Below are some ...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.