i
Globant
Filter interviews by
I applied via Shine
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 even after the parent function has returned.
They help in creating private variables and functions in JavaScript.
Closures are commonly used in event handlers and callbacks.
call, apply, and bind are methods in JavaScript used to manipulate the context of a function.
call() is used to invoke a function with a specified 'this' value and arguments provided individually.
apply() is similar to call() but arguments are passed as an array.
bind() is used to create a new function with a specified 'this' value and initial arguments.
I appeared for an interview in Aug 2017.
I applied via Approached by Company and was interviewed in Feb 2022. There was 1 interview round.
To reverse a string in Javascript, we can use the built-in reverse() method.
Convert the string to an array using split() method
Use the reverse() method to reverse the array
Convert the reversed array back to a string using join() method
I applied via Recruitment Consultant and was interviewed in Sep 2021. There was 1 interview round.
Dependency injection is a design pattern that allows objects to receive dependencies rather than creating them internally.
It helps to decouple the code and makes it more testable.
It allows for easier maintenance and scalability.
It can be implemented using constructor injection, setter injection, or interface injection.
Example: Instead of creating a database connection object within a class, it can be passed as a depend
NgModule is a decorator that defines a module in Angular.
NgModule is used to group related components, directives, and services.
It helps to organize the application into smaller, manageable pieces.
It can import other modules and export its own components, directives, and services.
It can also provide configuration for dependency injection.
Example: @NgModule({ imports: [CommonModule], declarations: [AppComponent], export
Closure is a function that has access to variables in its outer scope, even after the outer function has returned.
A closure is created when a function is defined inside another function.
The inner function can access variables in the outer function, even after the outer function has returned.
Closures are commonly used to create private variables and functions in JavaScript.
Example: function outer() { var x = 10; functio...
Inline elements do not start on a new line and only take up as much width as necessary, while inline-block elements can have a width and height set.
Inline elements do not start on a new line and only take up as much width as necessary
Inline-block elements can have a width and height set
Inline elements ignore top and bottom margins and padding, while inline-block elements respect them
Semantic HTML is a way of writing HTML that focuses on the meaning of the content rather than its appearance.
Semantic HTML uses tags that clearly define the purpose of the content, such as <header>, <footer>, <nav>, <article>, <section>, <aside>, <main>.
It helps improve accessibility for users with disabilities by providing more context to screen readers and other assistive tec...
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
I applied via Walk-in and was interviewed in Mar 2022. There were 2 interview rounds.
Using a for loop to find a specific value in an array of strings.
Use a for loop to iterate through the array
Check each element to see if it matches the desired value
Return the index of the matching element or -1 if not found
To find array values using for loop
Declare a variable to store the sum of array values
Use a for loop to iterate through the array
Access each element using array[index] syntax
Add the element value to the sum variable
Return the sum variable
I appeared for an interview in Sep 2024, where I was asked the following questions.
let, var, and const are all used to declare variables in JavaScript, but they have different scopes and behaviors.
let: block-scoped variable, can be reassigned
var: function-scoped variable, can be reassigned
const: block-scoped variable, cannot be reassigned, but its properties can be modified
based on 2 interviews
Interview experience
based on 4 reviews
Rating in categories
Senior Software Engineer
1.7k
salaries
| ₹10 L/yr - ₹33 L/yr |
Software Engineer
293
salaries
| ₹6 L/yr - ₹21 L/yr |
Automation Test Engineer
253
salaries
| ₹7 L/yr - ₹25.3 L/yr |
Technical Lead
236
salaries
| ₹16.6 L/yr - ₹39 L/yr |
Senior Automation Test Engineer
217
salaries
| ₹9.5 L/yr - ₹28.6 L/yr |
Accenture
TCS
Infosys
Wipro