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 ยท 795 views ยท scope, variables, functions
What are `let`, `const`, and `var`? What are their differences?
Phone Screen ยท 614 views ยท variables, scope, es6
What is globalThis?
Frontend ยท 532 views ยท globalthis
How does instanceof work?
Frontend ยท 256 views ยท instanceof
What is `Error.isError()` and why is `instanceof Error` unreliable across realms?
Frontend ยท 241 views ยท error, es2025, realm
Medium
9 questionsHow do you correctly check for NaN?
Frontend ยท 953 views ยท nan
What are modules in JavaScript?
Frontend ยท 941 views ยท modules, es modules, code organization
What is lexical scoping and the scope chain?
Frontend ยท 936 views ยท scope, lexical
What is an IIFE?
Frontend ยท 882 views ยท iife
How does the 'this' keyword work?
Frontend ยท 690 views ยท this
What are the basics of regular expressions in JavaScript?
Frontend ยท 604 views ยท regexp
What does `using` / `await using` do for Explicit Resource Management (ES2024)?
Frontend ยท 420 views ยท es2024, using, resource
What does 'use strict' do?
Frontend ยท 228 views ยท strict-mode
Hard
3 questionsWhat are Symbols and what are they used for?
Frontend ยท 874 views ยท symbol
What is ShadowRealm and how does it provide true JavaScript sandboxing?
Frontend ยท 640 views ยท shadowrealm, sandbox, isolation
How do you implement a simple Promise library from scratch?
DSA ยท 179 views ยท promises, polyfill, async
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question