Sector file // javascript-coding
JAVASCRIPT CODINGDECODED.
Polyfills & data transforms
Easy
10 questionsWrap methods hook decorator
Low-Level Design · 2.4k views · js-coding, utility, algorithm
Immer-like draft proxies
Low-Level Design · 1.6k views · js-coding, utility, algorithm
Graph bfs traversal
DSA · 1.3k views · js-coding, utility, algorithm
Polyfill Function.prototype.call and apply
DSA · 1.2k views · call, apply, polyfill
Object tree traversal
DSA · 1.1k views · js-coding, utility, algorithm
Array Union
Frontend · 1.1k views · array, set
Implement an Immutable setIn(obj, path, value) That Never Mutates the Original
DSA · 818 views · js-coding, utility, algorithm
Polyfill Object.fromEntries() — Handle Duplicate and Symbol Keys
DSA · 761 views · js-coding, utility, algorithm
Medium
30 questionsImplement objectMap(obj, fn) — Transform Every Value via Object.entries/fromEntries
DSA · 4.1k views · js-coding, utility, algorithm
Implement pick(obj, paths) Supporting Both Shallow and Nested Paths
DSA · 3.9k views · object, recursion
HTML template compiler
Low-Level Design · 3.7k views · js-coding, utility, algorithm
Convert Between snake_case and camelCase Object Keys (Including Nested Objects)
Frontend · 3.6k views · object, regex
Deep Map Keys
DSA · 3.5k views · object, recursion
Clear Nullish Values
DSA · 3.4k views · object, recursion
Implement omit(obj, paths) Supporting Both Shallow and Nested Paths
DSA · 3.3k views · object, recursion
Index By Utility
DSA · 3.2k views · array, object
Hard
6 questionsJSON.parse Polyfill
DSA · 1.7k views · polyfill, object, string
Safely Merge Untrusted Input Into an Object Without a Prototype-Pollution Vulnerability
Low-Level Design · 1.7k views · js-coding, utility, algorithm
Virtual DOM element mapper
Low-Level Design · 992 views · js-coding, utility, algorithm
Implement deepClone — handle Dates, RegExp, Map, Set & circular refs
DSA · 969 views · deep-clone, structuredClone, circular
Implement a minimal Promise/A+ (MyPromise) with then/catch
DSA · 733 views · promise, custom-promise, thenable
Implement deepEqual(a, b) handling NaN, -0, Dates, RegExp & circular refs
DSA · 586 views · deep-equal, NaN, -0
Seen a JavaScript Coding question that is not here? Add it and help the next candidate.
Share a question