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 ยท 872 views ยท optional-chaining
What are `let`, `const`, and `var`? What are their differences?
Phone Screen ยท 614 views ยท variables, scope, es6
What is destructuring?
Frontend ยท 198 views ยท destructuring
What is JSON and why is it commonly used?
Phone Screen ยท 167 views ยท json, data format, api
Medium
10 questionsWhat are modules in JavaScript?
Frontend ยท 941 views ยท modules, es modules, code organization
How do you handle asynchronous operations in JavaScript?
Frontend ยท 784 views ยท async, promises, async/await
What are the spread and rest operators?
Frontend ยท 658 views ยท spread, rest
How do Import Attributes (`with { type: "json" }`) work and why did they replace import assertions?
Frontend ยท 656 views ยท es2024, modules, json
What is the difference between arrow and regular functions?
Frontend ยท 637 views ยท arrow-functions
What are the basics of regular expressions in JavaScript?
Frontend ยท 604 views ยท regexp
How do getters and setters work?
Frontend ยท 416 views ยท getters, setters
What are private class fields?
Frontend ยท 290 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 ยท 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