DMDheeraj Malikindheerajmalik.hashnode.dev·Apr 12 · 3 min readAnchor tag within anchor a11y questionSo let's say we have a card that is a URL in itself, that is, it's an anchor tag, and within an anchor tag, there is a paragraph that also has an anchor tag. So what's the accessibility concern in hav00
DMDheeraj Malikindheerajmalik.hashnode.dev·Apr 11 · 4 min readFor that promise tricky question Good catch. The difference is: in foo, the await is directly inside foo in two, the await is waiting on another async function’s promise So in one case, foo queues its own continuation immediately00
DMDheeraj Malikindheerajmalik.hashnode.dev·Apr 11 · 27 min readPromise and timeout types interview questions and some theory(on this page i have [3) Harder: await inside nested async flow] - do this always, it has tricky aspect ok there are a lot of promise and timout output based question give 1 Here are 3, from easy to h00
DMDheeraj Malikindheerajmalik.hashnode.dev·Apr 11 · 3 min readObject passing js references and copywhat is happening let a= {b:{c:1}} undefined let b = {...a} undefined b.b.a = 2 2 b.b.c = 3 3 b and why What’s happening is: {...a} makes only a shallow copy. So here: let a = { b: { c: 1 } } let b 00
DMDheeraj Malikindheerajmalik.hashnode.dev·Apr 11 · 5 min readType coercion in JS read ths articlw along with my nullish vala article so both sides are coerced or only when side and what are the rules of type coercion? Thought for a second Not always both. == has specific rules abo00