Facebook Pixel

What JS question does Amazon ask in interviews?

sum(1)(2)(3)(4)..(n) - a currying question where you implement a function that can be chained to sum numbers. This tests understanding of currying, closures, and function chaining.

Verify This Answer

Cross-check this information using these trusted sources:

More FAQs in JavaScript Interview Questions: Introduction

call/apply/bind, polyfills (bind, map, filter, reduce), currying, debouncing, throttling, async/defer, event bubbling, event delegation, prototypes, recursion, CORS, and closures. Amazon asks currying, Flipkart asks debounce, Walmart asks throttle, Ola asks async/defer, Oyo asks event bubbling.

Understand each concept deeply, implement polyfills and utilities from scratch (no libraries), practice coding in an editor, practice explaining in simple terms, and know the real-world use cases for each technique.

Debouncing - implementing a debounce function that delays the execution of a function until the user stops calling it for a specified delay. This tests understanding of closures, setTimeout, and event optimization.

Still have questions?

Browse all our FAQs or reach out to our support team

Want to upskill yourself?

Our courses are taking a Coffee break, but your curiosity shouldn't. Stay engaged with namastedev linkedin, youtube, discord and other resources while you wait.

0
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.