Skip to content

Latest commit

 

History

History
97 lines (56 loc) · 2.33 KB

File metadata and controls

97 lines (56 loc) · 2.33 KB

📘 50 JavaScript Interview Questions

Welcome to the 50 JavaScript Interview Questions repository! 🎯 This collection features practical, topic-wise problems designed to help you sharpen your core JavaScript knowledge and prepare for technical interviews or assessments.

🧠 Divided into 8 core categories, these questions increase in complexity and cover the most essential JavaScript concepts.


📂 Repository

GitHub Repo: ExploitEngineer/50_JavaScript_Interview_Questions


🧪 What's Inside

The questions are grouped in sets of 10, based on the topic:

  1. Basic Console Usage
  2. Variables and Data Types
  3. Loops
  4. Arrays
  5. Functions

All questions are solved using plain JavaScript. Ideal for learners and developers brushing up their fundamentals.


🚀 Installation

You can clone this repo and run the code in your browser or favorite code editor (like VS Code).

1️⃣ Clone and Install (via npm - optional)

# Clone the repo
git clone https://github.com/ExploitEngineer/50_JavaScript_Interview_Questions.git

# Navigate to the folder
cd 50_JavaScript_Interview_Questions

# (Optional) Install dependencies if a package.json is included in future
npm install

2️⃣ Open in Browser

  • Simply open any .html file in your browser
  • Or use a Live Server extension in VS Code for auto-refresh

📁 Topics Covered

1. Basic Console Usage

  • Logging strings, values, errors, types, and calculations.

2. Variables and Data Types

  • Understanding let, const, typeof, undefined, and more.

3. Loops

  • for, while, do...while, for...of, for...in, nested loops.

4. Arrays

  • Array creation, manipulation, slicing, combining, and iteration.

5. Functions

  • Declaring, calling, and solving common algorithmic tasks.

🤝 Contributing

Have suggestions or more interview-style questions? Feel free to fork the repo and open a pull request!

Steps:

  1. Fork the repository
  2. Clone your fork
  3. Create a new branch
  4. Add your code/questions
  5. Push and open a pull request

📜 License

This project is licensed under the MIT License — use it freely for learning and practice.


🚀 Happy Coding! | ⭐ Star the repo if you find it helpful!