Sector file // javascript
JAVASCRIPTDECODED.
Closures, async & the core
Easy
6 questionsHow 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
Describe the concept of 'scope' in JavaScript.
Phone Screen ยท 798 views ยท scope, variables, functions
What are `let`, `const`, and `var`? What are their differences?
Phone Screen ยท 617 views ยท variables, scope, es6
What is globalThis?
Frontend ยท 535 views ยท globalthis
How does instanceof work?
Frontend ยท 260 views ยท instanceof
What is `Error.isError()` and why is `instanceof Error` unreliable across realms?
Frontend ยท 244 views ยท error, es2025, realm
Medium
9 questionsHow do you correctly check for NaN?
Frontend ยท 957 views ยท nan
What are modules in JavaScript?
Frontend ยท 942 views ยท modules, es modules, code organization
What is lexical scoping and the scope chain?
Frontend ยท 940 views ยท scope, lexical
What is an IIFE?
Frontend ยท 884 views ยท iife
How does the 'this' keyword work?
Frontend ยท 692 views ยท this
What are the basics of regular expressions in JavaScript?
Frontend ยท 607 views ยท regexp
What does `using` / `await using` do for Explicit Resource Management (ES2024)?
Frontend ยท 426 views ยท es2024, using, resource
What does 'use strict' do?
Frontend ยท 231 views ยท strict-mode
Hard
3 questionsWhat are Symbols and what are they used for?
Frontend ยท 876 views ยท symbol
What is ShadowRealm and how does it provide true JavaScript sandboxing?
Frontend ยท 643 views ยท shadowrealm, sandbox, isolation
How do you implement a simple Promise library from scratch?
DSA ยท 182 views ยท promises, polyfill, async
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question