Skip to content

This repository contains comprehensive solutions, step-by-step explanations, and learning notes for over 130 advanced JavaScript output-based quiz questions from the bfe.dev platform.

License

Notifications You must be signed in to change notification settings

ayush-gupta07/bfe-js-quiz-explained

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📘 JavaScript Output-Based Interview Questions – BFE.dev Series

Welcome to the JavaScript Output-Based Interview Prep repository!
This repository is a comprehensive collection of 134 carefully documented questions inspired by the BFE.dev JavaScript quiz series.

Each question focuses on predicting the output of tricky and often misunderstood JavaScript snippets – an essential skill for acing frontend interviews and mastering the language deeply.


📚 What's Inside?

This repo includes:

  • 134 Output-based Questions from BFE.dev
  • 📂 One .md file per question, named consistently for easy lookup (01_promise_order.md, 02_promise_executor.md, etc.)
  • 📖 Each file includes:
    • The original question
    • Correct output
    • Step-by-step explanation with internal implementation logic
    • Gotchas and things to remember for interviews (e.g., coercion behavior, microtask/queue nuances, scope quirks)

📦 Why this Repository?

This is more than just answers. This repo aims to:

  • Teach how JavaScript really works under the hood.
  • Help you master:
    • Promises
    • Closures
    • Scope
    • Coercion
    • Event loop and Microtask queue
    • Hoisting, async/await, and more
  • Be your go-to interview revision guide.

Whether you're prepping for FAANG, startups, or leveling up your core JS knowledge, this repo is structured to save time and boost clarity.


🧠 How to Use

  1. Clone or fork the repo
  2. Browse through each question file in order or jump to specific ones from the 📂 Question Index
  3. For each file:
    • Read the problem
    • Try solving it on your own
    • Cross-check the output and explanation
    • Note the gotchas to avoid in future

🤓 Target Audience

  • Frontend Developers
  • JavaScript Learners & Interviewees
  • Anyone who wants to master real-world JS quirks

📁 Structure

Each question is documented in a separate .md file named as follows:


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


🤝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details on how to:

  • Add new questions
  • Improve explanations
  • Fix typos or errors
  • Suggest better examples

⭐ Show Your Support ⭐

If this repository helped you in your JavaScript interview prep, please give it a star! ⭐

About

This repository contains comprehensive solutions, step-by-step explanations, and learning notes for over 130 advanced JavaScript output-based quiz questions from the bfe.dev platform.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published