Sector file // javascript
JAVASCRIPTDECODED.
Closures, async & the core
165 Questions103.9k Views7.0k Upvotes
41 easy77 med47 hard
Easy
3 questionsHow does Array.prototype.with() let you replace one array element immutably, and where would that pattern actually help?
Phone Screen ยท 1.1k views ยท es2023, tricky, real-world
Views:1.1kLikes:20
How does Array.prototype.toSorted() differ from .sort(), and why does that matter when updating state immutably?
Phone Screen ยท 1.1k views ยท es2023, tricky, real-world
Views:1.1kLikes:71
How does Array.prototype.toReversed() avoid the classic bug of accidentally mutating a shared array reference?
Phone Screen ยท 284 views ยท es2023, tricky, real-world
Views:284Likes:14
Medium
1 questionHard
2 questionsHow do Stage 3 JavaScript Decorators work โ class, method and field decorators?
Frontend ยท 686 views ยท decorators, es2023, metaprogramming
Views:686Likes:78
How does V8 Array copy-on-write optimization work for `toSorted`/`toReversed`/`toSpliced`/`with`?
DSA ยท 224 views ยท v8, array, performance
Views:224Likes:6
Seen a JavaScript question that is not here? Add it and help the next candidate.
Share a question