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.
GitHub Repo: ExploitEngineer/50_JavaScript_Interview_Questions
The questions are grouped in sets of 10, based on the topic:
- Basic Console Usage
- Variables and Data Types
- Loops
- Arrays
- Functions
All questions are solved using plain JavaScript. Ideal for learners and developers brushing up their fundamentals.
You can clone this repo and run the code in your browser or favorite code editor (like VS Code).
# 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
- Simply open any
.html
file in your browser - Or use a Live Server extension in VS Code for auto-refresh
- Logging strings, values, errors, types, and calculations.
- Understanding
let
,const
,typeof
,undefined
, and more.
for
,while
,do...while
,for...of
,for...in
, nested loops.
- Array creation, manipulation, slicing, combining, and iteration.
- Declaring, calling, and solving common algorithmic tasks.
Have suggestions or more interview-style questions? Feel free to fork the repo and open a pull request!
Steps:
- Fork the repository
- Clone your fork
- Create a new branch
- Add your code/questions
- Push and open a pull request
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!