Sector file // javascript
JAVASCRIPTDECODED.
Closures, async & the core
Easy
10 questionsWhat are template literals?
Frontend ยท 1.2k views ยท template-literals
What is hoisting in JavaScript?
Phone Screen ยท 944 views ยท hoisting, scope, variables
Describe the concept of 'scope' in JavaScript.
Phone Screen ยท 795 views ยท scope, variables, functions
How would you use the Page Visibility API to pause a setInterval-based poller when a user switches to a different browser tab?
Phone Screen ยท 722 views ยท perf-api, tricky, real-world
What is the difference between null and undefined?
Frontend ยท 584 views ยท null, undefined
What is globalThis?
Frontend ยท 532 views ยท globalthis
What is the difference between synchronous and asynchronous code?
Frontend ยท 420 views ยท sync-async
What is JSON and why is it commonly used?
Phone Screen ยท 167 views ยท json, data format, api
Medium
25 questionsDebounce vs throttle โ implement debounce
Frontend ยท Netflix ยท 3.7k views ยท javascript, performance
How do you implement infinite currying in JavaScript?
Phone Screen ยท 1.2k views ยท currying, closures, functional
What is the difference between Object.freeze, seal, and preventExtensions?
Frontend ยท 1.2k views ยท object-seal-freeze
Set methods deep-dive: performance and mutability trade-offs vs manual loops?
DSA ยท 1.2k views ยท set, performance, es2024
Explain 'this' keyword in JavaScript.
Frontend ยท 1.1k views ยท this, context, functions
When should you use Map and Set over objects and arrays?
Frontend ยท 1.1k views ยท map, set
How would you write a Proxy 'set' trap that validates a value before allowing an assignment, and what happens if you return false?
Frontend ยท 1.1k views ยท proxy, tricky, real-world
How do you correctly check for NaN?
Frontend ยท 953 views ยท nan
Hard
16 questionsExplain the event loop, call stack, and task queues.
Frontend ยท 1.2k views ยท event-loop
How does `Atomics.waitAsync()` enable non-blocking waits on SharedArrayBuffer?
DSA ยท 1.1k views ยท atomics, sharedarraybuffer, concurrency
How would you make a custom class iterable with for...of by implementing Symbol.iterator as a generator method?
DSA ยท 936 views ยท iterators, tricky, real-world
What is the Reflect API?
Frontend ยท 884 views ยท reflect
What are Symbols and what are they used for?
Frontend ยท 874 views ยท symbol
Explain how prototypal inheritance differs from classical inheritance.
Frontend ยท 748 views ยท prototypes, inheritance, oop
How do Stage 3 JavaScript Decorators work โ class, method and field decorators?
Frontend ยท 686 views ยท decorators, es2023, metaprogramming
What is ShadowRealm and how does it provide true JavaScript sandboxing?
Frontend ยท 640 views ยท shadowrealm, sandbox, isolation
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question