Skip to main content
Image

r/learnjavascript


Looking for a Study Partner – React, TypeScript, Node.js & React Native
Looking for a Study Partner – React, TypeScript, Node.js & React Native

I’m looking for a study partner who wants to learn and revise JavaScript, React, TypeScript, Node.js, and React Native from the basics to an interview-ready level.

What I’m Looking For

- Start from the basics and gradually move to advanced topics.

- Cover everything needed for technical interviews.

- Practice coding, concepts, interview questions, and projects together.

- Stay consistent and keep each other motivated.

About Me

I already know some of JavaScript, React, TypeScript, Node.js, and React Native, but I’ve forgotten quite a lot of the basics. I want to start from the beginning, revise everything properly, and build my knowledge again from start to end.

I have already started studying and I’m eager to continue. I’m mainly looking for someone who is also serious about learning and can study together consistently.

Time Zone

I’m in IST (Indian Standard Time), but I don’t have a fixed time limit.

If you’re interested, DM me your time zone and the time you’re usually available, and let me know when you can start.

Looking for someone who is genuinely interested in learning together rather than just joining for a few days.

Dicord ChatGrp


Advertisement: Listen up! Coach has a new plan. Simplicity Plan. One plan. One Price.
Listen up! Coach has a new plan. Simplicity Plan. One plan. One Price.
media poster


10 JavaScript questions that came up in almost every frontend interview I sat this year
10 JavaScript questions that came up in almost every frontend interview I sat this year

I've been interviewing for frontend roles (SDE-2, around 4.5 years experience, React and Next.js) over the last few months and sat through a fair number of loops at product companies and mid-size startups. I kept a running doc of everything that got asked so I could spot patterns. Ten questions came up often enough that I'd now treat them as near guaranteed.

Sharing in case it saves someone else the trial and error.

  1. Implement debounce from scratch, then explain when you'd use debounce vs throttle. This one showed up in almost every single loop, usually as the warm up before harder coding.

  2. Closures. Not just the definition, but where you use them in React and the classic closure-inside-a-loop output question with var vs let.

  3. Hoisting, and how it differs from closures. Usually followed by var vs let vs const and when you actually hit a ReferenceError.

  4. The event loop. Call stack, microtask queue, macrotask queue, followed by predicting output from a snippet mixing setTimeout and Promise.then.

  5. The this keyword. Normal vs arrow functions, and what happens when you detach a method from its object. const a = obj.getName; a()

  6. Prototypal inheritance and the prototype chain, and how it differs from class inheritance.

  7. Deep copy vs shallow copy. Explain the difference, then implement a deep clone. Interviewers usually push on why JSON.parse(JSON.stringify()) is not good enough.

  8. Flatten a nested array, first without Array.flat() and then with it.

  9. Promise vs async/await. When you prefer each, and how error handling actually differs between them.

  10. Event delegation. Why it exists and how you'd apply it to a list with thousands of rows.

Two things that surprised me. Polyfills for call/apply/bind and the Promise combinators came up far less than the prep content online suggests. And output prediction questions were much more common than I expected, often used as a filter before anyone let me write real code.

Curious whether this matches what others have seen recently, or if it's specific to the kind of companies I was talking to.