Skip to content

adityarwt1/Javascript-fundamental

Repository files navigation

📚 JavaScript Fundamentals & LeetCode Questions

Welcome to my JavaScript learning journey! This repository contains my notes, code snippets, and solutions to JavaScript fundamentals and LeetCode problems solved using JavaScript.


📌 Table of Contents


🔰 JavaScript Fundamentals

All core concepts of JavaScript from beginner to advanced are covered here.

🧠 Basics

  • Hello World
  • Comments
  • Variables (var, let, const)
  • Console methods

📦 Data Types

  • Primitive: String, Number, Boolean, Null, Undefined, Symbol
  • Non-primitive: Objects, Arrays, Functions

📐 Operators

  • Arithmetic, Assignment, Comparison, Logical, Ternary, Bitwise

🔁 Control Structures

  • if/else, switch
  • loops: for, while, do...while
  • break & continue

🧮 Functions

  • Declaration & Expression
  • Arrow Functions
  • Callbacks
  • IIFE
  • Closures

📚 Arrays & Objects

  • Methods: map, filter, reduce, forEach, find, etc.
  • Destructuring
  • Spread & Rest operators

🕳️ Scope & Hoisting

  • Global, Local, Block
  • Var vs Let vs Const
  • Hoisting & Temporal Dead Zone

🧵 Asynchronous JS

  • setTimeout & setInterval
  • Promises
  • Async/Await
  • Fetch API

🌐 DOM Manipulation

  • Selecting elements
  • Events & Listeners
  • Modifying HTML/CSS using JS

🔄 ES6+ Features

  • Template Literals
  • Default Parameters
  • Classes
  • Modules
  • Optional Chaining
  • Nullish Coalescing

💡 LeetCode JavaScript Solutions

🟢 Easy

# Title Solution
1 Two Sum Link
13 Roman to Integer Link
58 Length of Last Word Link

🟡 Medium

# Title Solution
3 Longest Substring Without Repeating Characters Link
46 Permutations Link

🔴 Hard

# Title Solution
10 Regular Expression Matching Link

🛠️ How to Use

  1. Clone the repo
    git clone https://github.com/your-username/js-fundamentals-leetcode.git
    cd js-fundamentals-leetcode

About

java script foundamental for pass the screanning the test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors