Q771. What is Intersection types in TypeScript?
Intersection types allow you to combine multiple types into a single type that has all the properties and methods of each constituent type. It is denoted by the "&" symbo...
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 (2,728 available).
Intersection types allow you to combine multiple types into a single type that has all the properties and methods of each constituent type. It is denoted by the "&" symbo...
Before ECMAScript 2015 (ES6) introduced native modules (`import`/`export`), JavaScript ran in a single global scope (`window`), leading to variable name collisions, secur...
It's a common pattern or practice in React for a component to return multiple elements. _Fragments_ let you group a list of children without adding extra nodes to the DOM...
Next.js has built-in support for environment variables managed through `.env` files with strict client/server boundary isolation: ### File Priority Hierarchy: 1. `.env.de...
Vue supports key modifiers on `v-on` for handling keyboard events. Let's take an example of keyup event with enter keycode. ```html ``` Remembering all the key codes is r...
To round a numeric value up to the next nearest integer, use the **`CEIL()`** (or **`CEILING()`**) function: ```sql SELECT CEIL(25.01); -- Returns 26 SELECT CEIL(25.00); ...
In Python, module is the way to structure program. Each Python program file is a module, which import s other modules like objects and attributes. The folder of Python pr...
HTML tag is just opening or closing entity. For example `` and `` are called HTML tags. HTML element consists of opening tag, closing tag and content(optional for content...
Union types allow you to define a type that can hold values of multiple types. It is denoted by the "|" symbol. ``` type UnionType = string | number; let val: UnionType; ...
Scope is the accessibility of variables, functions, and objects in some particular part of your code during runtime. In other words, scope determines the visibility of va...
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.