Q841. What are the attributes provided by a property descriptor?
A property descriptor is a record which has the following attributes 1. `value`: The value associated with the property 2. `writable`: Determines whether the value associ...
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 (1,236 available).
A property descriptor is a record which has the following attributes 1. `value`: The value associated with the property 2. `writable`: Determines whether the value associ...
The `extends` keyword is used in class declarations/expressions to create a class which is a child of another class. It can be used to subclass custom classes as well as ...
The `window.location.href` property will be helpful to modify the url but it reloads the page. HTML5 introduced the `history.pushState()` and `history.replaceState()` met...
python coding interview questions We can combine all arithmetic operators with the assignment symbol. ```python >>> a=7 ``` >>> a+=1 ```python >>> a ``` 8 ```python >>> a...
The `Array#includes()` method is used to determine whether an array includes a particular value among its entries by returning either true or false. Let's see an example ...
We have three logical operators- and, or, not. ```python >>> False and True ``` False ```python >>> 7>> not 2==2 ``` False
You can use length and every method of arrays to compare two scalars (compared directly using `===`) arrays. The combination of these expressions can give the expected re...
The `new URL()` object accepts the url string and `searchParams` property of this object can be used to access the get parameters. ```javascript let urlString = "http://w...
You can use the `Number.prototype.toLocaleString()` method which returns a string with a language-sensitive representation such as thousand separator, currency etc. of th...
You need to use `useLayoutEffect` when your effect **must run before the browser paints**, such as: * **Reading layout measurements** (e.g., element size, scroll position...
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.