Sector file // javascript
JAVASCRIPTDECODED.
Closures, async & the core
Easy
6 questionsWhat are template literals?
Frontend ยท 1.2k views ยท template-literals
How does 'use strict' change what `this` refers to inside a regular function called without a receiver, compared to non-strict mode?
Phone Screen ยท 1.1k views ยท syntax, tricky, real-world
What are optional chaining and nullish coalescing?
Frontend ยท 874 views ยท optional-chaining
What are `let`, `const`, and `var`? What are their differences?
Phone Screen ยท 617 views ยท variables, scope, es6
What is destructuring?
Frontend ยท 200 views ยท destructuring
What is JSON and why is it commonly used?
Phone Screen ยท 169 views ยท json, data format, api
Medium
10 questionsWhat are modules in JavaScript?
Frontend ยท 942 views ยท modules, es modules, code organization
How do you handle asynchronous operations in JavaScript?
Frontend ยท 786 views ยท async, promises, async/await
What are the spread and rest operators?
Frontend ยท 661 views ยท spread, rest
How do Import Attributes (`with { type: "json" }`) work and why did they replace import assertions?
Frontend ยท 659 views ยท es2024, modules, json
What is the difference between arrow and regular functions?
Frontend ยท 638 views ยท arrow-functions
What are the basics of regular expressions in JavaScript?
Frontend ยท 607 views ยท regexp
How do getters and setters work?
Frontend ยท 422 views ยท getters, setters
What are private class fields?
Frontend ยท 292 views ยท classes, private
Hard
13 questionsWhat does the RegExp `v` flag (Unicode Sets) add over the `u` flag?
Frontend ยท 1.2k views ยท regexp, unicode, es2024
Why can pushing a single non-numeric value into a large numeric array tank its performance in V8, and how would you avoid it?
System Design ยท 1.1k views ยท v8, tricky, real-world
How would you make a custom class iterable with for...of by implementing Symbol.iterator as a generator method?
DSA ยท 939 views ยท iterators, tricky, real-world
What is the Reflect API?
Frontend ยท 886 views ยท reflect
What are Symbols and what are they used for?
Frontend ยท 876 views ยท symbol
Explain 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 is ShadowRealm and how does it provide true JavaScript sandboxing?
Frontend ยท 643 views ยท shadowrealm, sandbox, isolation
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question