Sector file // javascript
JAVASCRIPTDECODED.
Closures, async & the core
Easy
4 questionsHow does Object.groupBy() work in ES2024 and when should you use it over reduce?
Frontend ยท 1.1k views ยท es2024, array, object-groupby
What are static methods and properties?
Frontend ยท 930 views ยท classes, static
What does Object.hasOwn() do differently from Object.prototype.hasOwnProperty.call(), and why is it the recommended modern replacement?
Phone Screen ยท 776 views ยท object, hasownproperty, hasown
How does instanceof work?
Frontend ยท 260 views ยท instanceof
Medium
4 questionsWhat are modules in JavaScript?
Frontend ยท 942 views ยท modules, es modules, code organization
How would you combine multiple AbortSignals or add a timeout to a fetch request using AbortSignal.any() and AbortSignal.timeout()?
Frontend ยท 609 views ยท abortsignal, fetch, timeout
What is the difference between ES modules and CommonJS?
Frontend ยท 503 views ยท modules
What does Promise.withResolvers() solve and how does it replace the deferred anti-pattern?
Frontend ยท 217 views ยท promises, es2024, async
Hard
5 questionsExplain how prototypal inheritance differs from classical inheritance.
Frontend ยท 752 views ยท prototypes, inheritance, oop
How do Stage 3 JavaScript Decorators work โ class, method and field decorators?
Frontend ยท 690 views ยท decorators, es2023, metaprogramming
What are tagged template literals?
Frontend ยท 591 views ยท tagged-templates
How does top-level await change how an ES module and its importers load, and what are the risks of using it carelessly?
System Design ยท 262 views ยท esm, top-level-await, modules
How would you use Symbol.hasInstance and Symbol.toPrimitive to customize instanceof checks and type coercion for a class?
DSA ยท 172 views ยท symbol, well-known-symbols, coercion
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question