Skip to content
OurLogicLearn • Grow • Lead
Home Blog Interview Notes Videos News Discussions Polls & voting Pro Pass
Trending topics
Intermediate

JavaScript & web – interview notes

OurLogic Team 14 Sep 2026 1 min read 931 4 (2)

1. What is a closure?

A function that remembers variables from the scope where it was created, even after that scope has finished.

2. Explain the event loop.

JavaScript runs one task at a time. Async callbacks wait in queues; microtasks (promises) run before the next macrotask (timers, I/O).

3. == vs ===?

=== compares value and type without coercion; prefer it.

4. What happens when you type a URL?

DNS lookup → TCP/TLS connection → HTTP request → HTML parsed into the DOM, CSS into the CSSOM → layout → paint.


2 Share:

Feedback & comments (2)

Priya Nair 2 d ago

Helpful, thanks. Please write a follow-up on the advanced topics.

Aarav Sharma 2 d ago

Great summary. It would be nice to add one more example with real data.

Rate this post:
Comments are moderated before they appear.