GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • JS Tutorial
  • Web Tutorial
  • A to Z Guide
  • Projects
  • OOP
  • DOM
  • Set
  • Map
  • Math
  • Number
  • Boolean
  • Exercise
  • Introduction to JS
  • JS Syntax

This view

  • Original page
  • New address

GeezerVison is showing www.geeksforgeeks.org — JavaScript Complete Guide - A to Z JavaScript Concepts - GeeksforGeeks

geeksforgeeks
search icon
  • Courses
  • Tutorials
  • Interview Prep
  • JS Tutorial
  • Web Tutorial
  • A to Z Guide
  • Projects
  • OOP
  • DOM
  • Set
  • Map
  • Math
  • Number
  • Boolean
  • Exercise

JavaScript Complete Guide - A to Z JavaScript Concepts

Last Updated : 23 Jul, 2025

JavaScript is a lightweight, cross-platform, single-threaded, and interpreted compiled programming language. It is also known as the scripting language for web pages. Some of the key features of JavaScript are:

  • Lightweight and Fast: JavaScript is a lightweight programming language that runs quickly in web browsers.
  • Single-Threaded: It processes tasks one at a time, making it simple to manage, though asynchronous features like Promises help handle multiple tasks simultaneously.
  • Event-Driven: JavaScript is designed to handle events (like clicks or key presses) in web applications.

Let's see, all essential JavaScript concepts from A to Z, helping you build a solid understanding of the language.

JavaScript A to Z Complete Guide
JavaScript A to Z Complete Guide

JavaScript for Beginners Level

An Introduction to JavaScript

  • Introduction to JS
  • JS Syntax
  • JS Add JS file in HTML Document
  • JS Versions Output
  • JS Comments
  • JS Statements
  • JS Events

JavaScript Variables and Data Types

  • JS Variables
  • JS let
  • JS const
  • JS var
  • Difference between var, let, and const keywords in JS
  • Global and Local variables in JS
  • Access Variables from Another File using JavaScript?
  • JS Data Types
  • JS Type Conversion
  • JS Type Coercion
  • JS Hoisting

JavaScript Operators

  • JS Operators
  • Operator precedence in JS
  • JS Arithmetic Operators
  • JS Assignment Operators
  • JS Comparison Operators
  • JS Logical Operators
  • JS Ternary Operators
  • JS Bitwise Operators
  • JS typeof Operator

JavaScript Conditional Flow

  • JS Ternary Operator
  • JS if-else
  • Switch Case in JS

JavaScript Loops

  • Loops in JS
  • JS For Loop
  • JS While Loop
  • JS for-in Loop
  • JS for…of Loop
  • JS do…while Loop
  • JS Continue Statement
  • JS break and continue
  • JS Errors: Throw and Try to Catch
  • Difference between forEach and for loop in JS

JavaScript Function

  • Functions in JS
  • How to write a function in JS?
  • JS Function Call
  • Different ways of writing functions in JS
  • Difference between Methods and Functions in JS
  • Explain the Different Function States in JS
  • Pass by Value and Pass by Reference in JS
  • Call by Value Vs Call by Reference in JS
  • JS return Statement
  • JS Nested functions
  • JS Rest parameter
  • JS Anonymous Functions
  • How to Understand Recursion in JS
  • Arrow functions in JS
  • JS Function Complete Reference

JavaScript String

  • JS String
  • JS String Storage()
  • String() Constructor
  • Built-in Strings in JS
  • Convert String to Camel Case
  • Count String Occurrences?
  • String Methods
  • Join Array Elements into a String
  • Create a String with Multiple Spaces
  • Multi-line Strings in JavaScript
  • Generate All Combinations of a String
  • Create a Function from a String
  • String Reference
  • JS Date
  • Remove a Character From a String in JS
  • Extract a Number from a String using JS

JavaScript Numbers

  • JS Numbers
  • How are numbers stored in JS?
  • How to create a Number object using JS
  • JS Number Reference

JavaScript Objects

  • JS Objects
  • Creating Objects in JS (4 Different Ways)
  • JS JSON Objects
  • JS Object Reference
  • Push an Array into an Object in JS
  • Check if a Key Exists in JS Object

JavaScript Arrays

  • Arrays in JS
  • Create an array of a given size in JS
  • Get the first and last item in an array using JS
  • How to append an element to an array in JS?
  • Remove elements from a JS Array
  • JS Basic Array Methods
  • Best-Known JS Array Methods
  • What are the Important Array Methods of JS?
  • JS Array Reference
  • Remove Duplicate Elements From JS Array
  • Filter Object Array Based On Attributes
  • Add an Object to JS Array
  • JS Multidimensional Array
  • JS Array forEach() Method
  • ArrayMap() Method In JS
  • ArrayFilter() Method In JS
  • ArrayReduce() Method In JS

JavaScript Date

  • JS Date() Constructor
  • JS Date constructor Property
  • JS Date now() Method
  • JS Date parse() Method
  • JS Date UTC() Method
  • JS Date getDate() Method
  • JS Date getDay() Method
  • Check if Date is Today in JS
  • Check if Date is Between Two Dates in JS
  • JS Date Reference

JavaScript JSON

  • JS JSON
  • JS JSON Objects
  • JS JSON parse() Method
  • JS JSON stringify() Method
  • Pretty Print JSON in JS
  • Add Element to JSON Object in JS
  • Read JSON file in JS
  • JS JSON Complete Reference
  • Convert JSON data to html table using jQuery
  • Check if a key exists inside a JSON object

JavaScript Set

  • Sets in JS
  • How are elements ordered in a Set in JS
  • How to iterate over Set elements in JS?
  • How to sort a set in JS?
  • JS Set Reference

JavaScript Map

  • JS Map
  • What is JS Map and how to use it?
  • JS Map Reference

JavaScript ArrayBuffer

  • JS ArrayBuffer() Constructor
  • JS arrayBuffer byteLength Property
  • JS arrayBuffer slice() Method
  • JS ArrayBuffer isView() Method
  • JS ArrayBuffer maxByteLength Property
  • JS ArrayBuffer resize() Method
  • JS ArrayBuffer Reference

JavaScript Atomics

  • Atomics in JS
  • Atomics.and() In JS
  • JS Atomics or() Method
  • Atomics.xor() In JS
  • JS Atomics add() Method
  • JS Atomics compareExchange( ) Method
  • JS Atomics store() Method
  • JS Atomics Reference

JavaScript BigInt

  • JS BigInt
  • JS BigInt() constructor
  • JS BigInt constructor Property
  • JS BigInt asIntN() Method
  • JS BigInt asUintN() Method
  • JS BigInt toLocaleString() Method
  • JS BigInt toString() Method
  • JS BigInt valueOf() Method
  • JS BigInt Reference

JavaScript Boolean and DataView

  • JS Boolean() Constructor
  • JS Boolean Constructor Property
  • JS Boolean valueOf() Method
  • JS Boolean toString() Method
  • JS Boolean Reference

JavaScript Generator

  • JS Generator() Constructor
  • JS Generator constructor Property
  • JS Generator next() Method
  • JS Generator return() Method
  • JS Generator throw() Method
  • JS Generator Reference

JavaScript Intl

  • JS Intl.ListFormat supportedLocalesOf()
  • JS Intl.DateTimeFormat supportedLocalesOf()
  • JS Intl.ListFormat format()
  • JS Intl.ListFormat formatToParts()
  • JS Intl.DateTimeFormat format()
  • JS Intl.Collator supportedLocalesOf()
  • JS Intl.DateTimeFormat formatRangeToParts()
  • JS Intl Complete Reference

JavaScript Math

  • Use of Math object in JS
  • JS Math Object
  • JS Math E Property
  • JS Math LN2 Property
  • JS Math LN10 Property
  • JS Math LOG2E Property
  • JS Math LOG10E Property
  • JS Math PI Property
  • JS Math abs() Method
  • JS Math acos() Method
  • JS Math acosh() Method
  • JS Math asin() Method
  • JS Math asinh() Method
  • JS Math atan() Method
  • JS Math atan2() Method
  • JS Math Reference

JavaScript RegExp

  • JS RegExp() Constructor
  • JS RegExp constructor Property
  • JS RegExp dotAll Property
  • JS RegExp flags Property
  • JS RegExp global Property
  • JS RegExp hasIndices Property
  • JS RegExp exec() Method
  • JS RegExp test() Method
  • JS RegExp toString() Method
  • JS RegExp Reference

Advanced JS

JavaScript Promise

  • JS Promise
  • JS promise resolve() Method
  • JS Promise all() Method
  • JS Promise then() Method
  • JS Promise any() Method
  • JS Promise race() Method
  • JS promise reject() Method
  • Promise vs Callback in JS
  • JS Promise Reference

JavaScript Proxy/handler

  • JS Proxy/Handler
  • JS Proxy() Constructor
  • JS Proxy revocable() Method
  • JS Handler apply() Method
  • JS Handler construct() Method
  • JS Handler defineProperty() Method
  • JS Handler get() Method
  • JS Proxy/handler Reference
  • JS file handling

JavaScript Reflect

  • JS Reflect
  • JS Reflect get() Method
  • JS Reflect getPrototypeOf() Method
  • JS Reflect isExtensible() Method
  • JS Reflect getOwnPropertyDescriptor() Method
  • JS Reflect construct() Method
  • JS Reflect apply() Method
  • JS Reflect Reference

JavaScript Symbol

  • JS Symbol() Constructor
  • JS Symbol constructor Property
  • JS Symbol asyncIterator Property
  • JS Symbol description Property
  • JS Symbol hasInstance Property
  • JS Symbol isConcatSpreadable Property
  • JS Symbol Iterator Property
  • JS Symbol() Method
  • JS Symbol keyFor() Method
  • JS Symbol toString() Method
  • JS Symbol Reference

JavaScript WeakMap

  • JS WeakMap
  • JS WeakMap() Constructor
  • JS WeakMap constructor Property
  • JS weakMap delete() Method
  • JS weakMap get() Method
  • JS weakMap has() Method
  • JS weakMap set() Method
  • JS WeakMap Reference

JavaScript WeakSet

  • JS WeakSet
  • JS WeakSet() Constructor
  • JS WeakSet constructor property
  • JS weakSet add() Method
  • JS weakSet delete() Method
  • JS weakSet has() Method
  • JS WeakSet Reference

JavaScript Expressions

  • JS this Keyword
  • JS Async/Await Function
  • JS Object initializer
  • JS Grouping Operator
  • JS async function expression
  • JS RegExp(Regular Expression)
  • JS function* expression
  • JS Function Expression
  • JS class expression
  • Asynchronous JS
  • Promises in JS
  • JS Expressions Complete Reference

JavaScript Event Loop

  • Understanding the Event Loop
  • Call Stack, Web APIs, Callback Queue
  • Microtasks vs Macrotasks
  • SetTimeout, SetInterval, and Their Effects on the Event Loop

JavaScript Classes And OOPS

  • Classes In JS
  • Classes and Objects in JS
  • How to create a JS class in ES6
  • this Keyword JS
  • New Keyword in JS
  • Object Constructor in JS
  • Inheritance in JS
  • Encapsulation in JS
  • Static Methods In JS
  • OOP in JS
  • Getter and Setter in JS
  • JS Event

JavaScript Error

  • Invalid date
  • Repeat count must be non-negative
  • Can’t access lexical declaration`variable’ before initialization
  • Invalid assignment left-hand side
  • Assignment to undeclared variable
  • Reference to undefined property “x”

Error Handling in JavaScript

  • JS Errors Throw and Try to Catch
  • Console in JS
  • JS Error and Exceptional Handling With Examples
  • Debugging in JS
  • Why cannot we catch errors outside of a function in JS?
  • Unexpected token error for catch JS
  • How to increase multiple try-catch readability in JS?
  • JS Error Handling: Unexpected Token

JavaScript HTTP Methods

  • Put v/s Patch
  • Fetch API in JS
  • Use JavaScript Fetch API to Get Data
  • Make an Ajax call from JavaScript
  • Wait for an API Request to Return in JS

Client-Side Storage

  • Local Storage in JS
  • Session Storage in JS
  • Difference between Local Storage, Session, and Cookies
  • JSON Web Token (JWT)

JavaScript Asynchronous Programming

  • Callbacks vs Promises vs Async/Await
  • Event Emitters

JavaScript Interview Preparation

  • JS Interview Questions and Answers | Set 1
  • JS Interview Questions and Answers | Set-2
  • JS Interview Questions and Answers | Set 3

JavaScript Practice Quiz

  • JS Course | Practice Quiz-1
  • JS Course | Practice Quiz-2
  • JS Course | Practice Quiz-3

JavaScript Libraries & Frameworks

  • Frontend Libraries: React, Preact, Lodash, Moment.js, jQuery, Axios
  • Backend Libraries: Socket.io, JWT, Bcrypt, Passport.js, CORS
  • Frontend Frameworks: Vue.js, Angular, Next.js, Nuxt.js, Gatsby
  • Backend Frameworks: Express.js, NestJS, Koa.js, Sails.js, Fastify
  • FullStack Frameworks: Meteor.js, Next.js, Nuxt.js, RedwoodJS
Comment

Explore

    JavaScript Basics
    • Introduction3 min read
    • Variables5 min read
    • Operators4 min read
    • Control Statements4 min read
    Array & String
    • Arrays6 min read
    • Array Methods4 min read
    • String5 min read
    • String Methods8 min read
    Function & Object
    • Functions4 min read
    • Function Expression3 min read
    • Function Overloading4 min read
    • Objects4 min read
    • Constructors4 min read
    OOP
    • OOP5 min read
    • Classes & Objects4 min read
    • Access Modifiers5 min read
    • Constructor4 min read
    Asynchronous JavaScript
    • Asynchronous2 min read
    • Callbacks4 min read
    • Promises4 min read
    • Event Loop3 min read
    • Async Await Fuction3 min read
    Exception Handling
    • Error and Exceptional Handling5 min read
    • Errors Throw & Try to Catch2 min read
    • Custom Errors2 min read
    • TypeError Invalid Array.prototype.sort argument1 min read
    DOM
    • DOM8 min read
    • DOM Elements3 min read
    • Custom Events4 min read
    • Addeventlistener5 min read
    Advanced Topics
    • Closure3 min read
    • Hoisting5 min read
    • Scope4 min read
    • Higher Order Functions7 min read
    • Debugging3 min read
    Courses
    • Placement 360 Course2 min read
    • MERN Full Stack Course2 min read
    • DSA and System Design Course2 min read
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.