Skip to content

Himanshusharmapune/JavaScript-refreshers

Repository files navigation

<<<<<<< HEAD

🚀 JavaScript Refreshers

A comprehensive collection of JavaScript fundamentals designed for quick revision and interview preparation. This repository contains concise, practical code examples covering essential JavaScript concepts.

📋 Table of Contents

🎯 About

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.

📚 Topics Covered

Core Concepts

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

🏁 Getting Started

Prerequisites

  • Basic understanding of JavaScript
  • A code editor (VS Code, Sublime Text, etc.)
  • Node.js (optional, for running scripts) or a modern web browser

Installation

  1. Clone the repository:
git clone https://github.com/Himanshusharmapune/JavaScript-refreshers.git
  1. Navigate to the project directory:
cd JavaScript-refreshers
  1. Open any .js file in your preferred code editor

💻 Usage

Running the Examples

Option 1: Browser Console

  1. Open any .js file
  2. Copy the code
  3. Open your browser's Developer Tools (F12)
  4. Paste the code into the Console tab
  5. Press Enter to execute

Option 2: Node.js

node Classes.js
node IIFE.js
# ... and so on

Option 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>

🤝 Contributing

Contributions are welcome! If you'd like to improve this repository:

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/add-new-topic)
  3. Commit your changes (git commit -m 'Add new JavaScript topic')
  4. Push to the branch (git push origin feature/add-new-topic)
  5. Open a Pull Request

Suggestions for Contributions

  • Add new JavaScript topics
  • Improve existing examples
  • Fix bugs or typos
  • Add more detailed explanations
  • Include practice exercises

👨‍💻 Author

Himanshu Sharma

⭐ Show Your Support

If you find this repository helpful, please consider giving it a star! It helps others discover these resources.

📝 License

This project is open source and available for educational purposes.


Happy Learning! 🎉

Last Updated: October 2025

JavaScript-refreshers

This is a revision of JS.

14d8a854bcf5f285f4b86fe41c597caab5f1fda5

About

This is a revision of JS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published