Filter interviews by
I applied via Approached by Company and was interviewed in Sep 2024. There was 1 interview round.
There are several promise methods in JavaScript, including .then(), .catch(), .finally(), and more.
Common promise methods include .then(), .catch(), and .finally()
Other promise methods include .all(), .race(), and .resolve()
Examples: promise.then(), promise.catch(), promise.finally()
Closures are functions that have access to variables from their outer scope even after the outer function has finished executing.
Closures allow functions to access variables from their parent function's scope
They maintain references to their outer scope even after the outer function has finished executing
Closures are commonly used in event handlers and callbacks
Top trending discussions
I applied via Naukri.com and was interviewed in Sep 2024. There were 2 interview rounds.
AOT and JIT are compilation techniques in Angular.
AOT (Ahead-of-Time) compilation is done at build time, converting TypeScript and HTML code into efficient JavaScript code before the browser runs it.
JIT (Just-in-Time) compilation is done at runtime, converting TypeScript and HTML code into JavaScript code while the application is running.
AOT improves performance by reducing the size of the bundle and optimizing the cod...
Observables are streams of data that can be subscribed to, while promises are a single future value.
Observables can handle multiple values over time, while promises can only handle a single value.
Observables are cancellable, while promises are not.
Observables support operators like map, filter, and reduce for data transformation.
Promises have a simpler API with just then and catch methods.
Observables are lazy, meaning ...
Data binding is the automatic synchronization of data between the model and view components in an application.
Data binding allows for the seamless updating of data in the model and reflecting those changes in the view without manual intervention.
There are two types of data binding in Angular: one-way binding and two-way binding.
One-way binding updates the view when the model changes, while two-way binding updates both ...
Closure is a function that has access to its own scope, as well as the scope of its outer function.
A closure allows a function to access variables from its outer function even after the outer function has finished executing.
Closures are commonly used in JavaScript to create private variables and functions.
Example: function outerFunction() { let outerVar = 'I am outer'; return function innerFunction() { console.log(oute
Lazy loading in Angular is a technique used to load modules only when they are needed, improving performance.
Lazy loading helps reduce initial load time by loading modules on demand
Implemented using loadChildren property in routes configuration
Lazy loaded modules have their own routes and components
Directives in Angular are markers on a DOM element that tell Angular to attach a specified behavior to that DOM element or transform the DOM element and its children.
Directives are used to create reusable components in Angular.
There are three types of directives in Angular: Component, Structural, and Attribute directives.
Examples of directives include ngIf, ngFor, and ngStyle.
Pagination task and filter table data
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
Even after answering all the questions correctly along with coding done with exact expected output you will get rejected becoz they are fake job interview or eye wash campaign it’s better to avoid.
posted on 1 Oct 2024
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There was 1 interview round.
posted on 25 Oct 2024
Reactive form with 2 fields and closure function Array function
2 problems, coding problems, java script
posted on 10 Jul 2023
useState is for managing state within a component, useContext is for sharing state between components, and redux is for managing global state across the application.
useState is a React hook used to manage state within a functional component
useContext is a React hook used to share state between components without prop drilling
Redux is a state management library that allows for managing global state across the applicatio...
The difference between == and === in JavaScript
== is the equality operator in JavaScript, which performs type coercion before comparing two values
=== is the strict equality operator, which does not perform type coercion and compares both value and type
Using === is generally considered safer and more predictable than using ==
Example: 1 == '1' will return true, but 1 === '1' will return false
posted on 5 Jun 2024
I applied via Referral and was interviewed before Jun 2023. There was 1 interview round.
I applied via Approached by Company and was interviewed in Aug 2022. There were 2 interview rounds.
call and apply are methods in JS used to invoke a function with a specified 'this' value and arguments.
call() method is used to invoke a function with a specified 'this' value and arguments provided individually
apply() method is used to invoke a function with a specified 'this' value and arguments provided as an array
Both methods are used to borrow methods from other objects, and to set the 'this' value explicitly
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope during compilation.
Variable declarations are hoisted but not their initializations.
Function declarations are fully hoisted, meaning they can be called before they are declared.
Hoisting can lead to unexpected behavior if not understood properly.
CSS positions include static, relative, absolute, fixed, and sticky.
Static - default position, elements are positioned according to the normal flow of the document
Relative - positioned relative to its normal position
Absolute - positioned relative to the nearest positioned ancestor
Fixed - positioned relative to the viewport
Sticky - acts like a combination of relative and fixed positioning
Semantic tags are HTML tags that clearly define the content they contain for better accessibility and SEO.
Semantic tags provide meaning to the content they enclose, making it easier for search engines to understand the structure of the page.
Examples of semantic tags include
Using semantic tags improves the accessibility of the website for users with disabilities, as screen readers can interp
Promise chaining is a technique in JavaScript where multiple asynchronous operations are chained together to execute sequentially.
Allows for handling multiple asynchronous operations in a more readable and organized way
Each promise in the chain returns a new promise, allowing for further chaining
Helps avoid callback hell by nesting promises inside each other
Example: promise1.then(result => { return promise2; }).then(re
Virtual DOM is a lightweight copy of the actual DOM that React uses to improve performance by minimizing direct manipulation of the actual DOM.
Virtual DOM is a concept in React where a lightweight copy of the actual DOM is created and updated in memory.
When changes are made to the virtual DOM, React compares it with the actual DOM and only updates the necessary parts, reducing the number of direct manipulations to the ...
Synthetic events in React are events that are normalized by React to ensure consistent behavior across different browsers.
Synthetic events are instances of the SyntheticEvent object in React.
They are cross-browser compatible and have the same interface as native events.
They are used to handle events like onClick, onChange, etc. in React components.
Example:
Redux is a predictable state container for JavaScript apps.
Redux is a state management tool commonly used with React to manage the application's state in a predictable way.
It helps in maintaining a single source of truth for the state of the entire application.
Redux follows a unidirectional data flow, making it easier to understand how data changes over time.
Actions are dispatched to update the state in Redux, and redu...
Hooks in React are functions that let you use state and other React features without writing a class.
Hooks were introduced in React 16.8.
They allow you to use state and other React features in functional components.
Some commonly used hooks are useState, useEffect, useContext, and useReducer.
useMemo is used for memoizing values, while useCallback is used for memoizing functions.
useMemo is used to memoize a value and only recompute it when its dependencies change.
useCallback is used to memoize a function instance and only re-create it when its dependencies change.
Example: useMemo can be used to memoize the result of a complex computation, while useCallback can be used to memoize a callback function passed t
based on 1 interview
Interview experience
Technical Support Engineer
182
salaries
| ₹2.6 L/yr - ₹8.7 L/yr |
Senior Software Engineer
117
salaries
| ₹9 L/yr - ₹34 L/yr |
Security Analyst
91
salaries
| ₹3 L/yr - ₹5.5 L/yr |
Software Support Specialist
64
salaries
| ₹3.5 L/yr - ₹6 L/yr |
Software Engineer
57
salaries
| ₹4.5 L/yr - ₹15 L/yr |
Zoho
Freshworks
TCS
HCLTech