<<<<<<< HEAD
A comprehensive collection of JavaScript fundamentals designed for quick revision and interview preparation. This repository contains concise, practical code examples covering essential JavaScript concepts.
This repository serves as a personal revision resource for developers looking to strengthen their JavaScript fundamentals. Whether you're preparing for technical interviews, building web applications, or simply refreshing your JS knowledge, you'll find clear explanations and hands-on examples for each core concept.
Classes (Classes.js)
ES6 class syntax, constructors, methods, and inheritance
IIFE (IIFE.js)
Immediately Invoked Function Expressions and their use cases
Objects (Object.js)
Object creation, properties, methods, and manipulation
Scopes (Scopes.js)
Function scope, block scope, and lexical scoping
Arrow Functions (arrow.js)
Modern function syntax and its advantages
Functions (functions.js)
Traditional function declarations and expressions
This Keyword (this.js)
Understanding this context in various scenarios
- Basic understanding of JavaScript
- A code editor (VS Code, Sublime Text, etc.)
- Node.js (optional, for running scripts) or a modern web browser
- Clone the repository:
git clone https://github.com/Himanshusharmapune/JavaScript-refreshers.git- Navigate to the project directory:
cd JavaScript-refreshers- Open any
.jsfile in your preferred code editor
Option 1: Browser Console
- Open any
.jsfile - Copy the code
- Open your browser's Developer Tools (F12)
- Paste the code into the Console tab
- Press Enter to execute
Option 2: Node.js
node Classes.js
node IIFE.js
# ... and so onOption 3: HTML File
Create an index.html file and include the script:
<!DOCTYPE html>
<html>
<head>
<title>JS Refreshers</title>
</head>
<body>
<script src="Classes.js"></script>
</body>
</html>Contributions are welcome! If you'd like to improve this repository:
- Fork the project
- Create your feature branch (
git checkout -b feature/add-new-topic) - Commit your changes (
git commit -m 'Add new JavaScript topic') - Push to the branch (
git push origin feature/add-new-topic) - Open a Pull Request
- Add new JavaScript topics
- Improve existing examples
- Fix bugs or typos
- Add more detailed explanations
- Include practice exercises
Himanshu Sharma
- GitHub: @Himanshusharmapune
If you find this repository helpful, please consider giving it a star! It helps others discover these resources.
This project is open source and available for educational purposes.
Happy Learning! 🎉
This is a revision of JS.
14d8a854bcf5f285f4b86fe41c597caab5f1fda5