SimplyJavaScript-Logo SimplyJavaScript-Logo 0%
  • Home
  • Tutorials
  • Syllabus
  • Roadmap
  • Guidelines
  • Interview
  • Exercises
  • Quizzes
  • Practice
    • Projects
    • Playground
    • Games
JavaScript Tutorials
JavaScript Tutorials
  • Foundations
  • Introduction
    • Introduction
    • Prerequisites for JavaScript
    • Programming Language
    • High Level Programming Language
    • Low Level Programming Language
    • HLL v/s LLL
    • Front-End
    • Back-End
    • Frontend v/s Backend
    • HTML Introduction
    • CSS Introduction
    • JavaScript Introduction
    • Role of HTML, CSS and JS
    • Capabilities and Limitations of JavaScript
    • Summary
    • Interview Questions
    • Videos
  • History of JavaScript
    • Introduction
    • History of JavaScript
    • ECMA
    • JS Compatibility
    • Summary
    • Interview Questions
    • Videos
  • JavaScript Setup
    • Introduction
    • Web Browser
    • IDE
    • VS Code
    • VS Code Extensions
    • Separation of Concerns Principle
    • Creating Starter Files
    • Developer Tool
    • JS Strict Mode
    • Summary
    • Interview Questions
    • Videos
  • JavaScript Features
    • Introduction
    • High Level Language
    • Garbage Collected
    • Interpreted Language (JIT)
    • Multi Paradigm
    • Prototype Based Functions
    • First Class Function
    • Dynamically Typed
    • Single Threaded
    • Non-Blocking Event Loop
    • Platform Independent
    • Summary
    • Interview Questions
    • Videos
  • Variables & Identifiers
    • Introduction
    • Identifiers
    • Reserved Keywords
    • Variable
    • var Keyword
    • let Keyword
    • const Keyword
    • Difference Between Let, Var & Const
    • Summary
    • Interview Questions
    • Videos
  • Data Types
    • Introduction
    • Data
    • Value
    • Data Type
    • Primitive Data Types
    • Non Primitive Data Types
    • Truthy & Falsy Values
    • Coercion
    • Manual Type Conversion
    • Summary
    • Interview Questions
    • Videos
  • JavaScript Output
    • Introduction
    • console.log()
    • More about console.log()
    • document.write()
    • window.alert()
    • innerHTML
    • Difference All Outputs
    • Summary
    • Interview Questions
    • Videos
  • JavaScript Comments
    • Introduction
    • Comments
    • Single Line Comment
    • Multi-line Comment
    • Summary
    • Interview Questions
    • Videos
  • JavaScript Statements
    • Introduction
    • What is a Statement
    • Single Line Statement
    • Code Block
    • Semicolon and Whitespace
    • Summary
    • Interview Questions
    • Videos
  • JavaScript Popup Boxes
    • Introduction
    • Alert Box
    • Confirm Box
    • Prompt Box
    • Summary
    • Interview Questions
    • Videos
  • Operators
    • Introduction
    • Arithmetic Operators
    • Comparison Operators
    • Assignment Operators
    • Logical Operators
    • Ternary Operator
    • Typeof Operator
    • Operator Precedence
    • Summary
    • Interview Questions
    • Videos
  • Conditional Statements
    • Introduction
    • If-Else Order
    • Grouping Multiple Conditions
    • Nested If-Else
    • Interview Questions
    • Video
  • Loops & Switch
    • Introduction
    • For Loop
    • For...of Loop
    • For..in Loop
    • While Loop
    • Do While Loop
    • Nested Loop
    • Switch
    • Break & Continue
    • Interview Questions
  • Understanding Errors
    • Don't Panic
    • How to Read the Console
    • The 6 Common Error Types
    • Reading the Stack Trace
    • Real-World Error Translations
    • The 5-Step Debug Process
    • Common Beginner Traps
    • Console Tricks
    • Summary
  • Functions & Data Structures
  • Strings
    • Introduction
    • Quotes
    • Escape Characters
    • Literal
    • String Length
    • String & Array
    • String Immutability
    • Summary
    • Interview Questions
    • Videos
  • Scopes
    • What is Scope?
    • What is Scoping?
    • Lexical Scoping
    • Types of Scopes
    • Global Scope
    • Functional Scope
    • Block Scope
    • Summary
    • Interview Questions
    • Videos
  • Functions
    • Function Basics
    • Types of Functions
    • Function Declaration
    • Function Expression
    • Arrow Function
    • Anonymous Function
    • Declaration vs Expression
    • Expression vs Arrow
    • Function Invoking
    • Parameters & Arguments
    • Arguments Object
    • Default Parameters
    • Value vs Reference
    • Summary
    • Interview Questions
    • Videos
  • Arrays
    • What is an Array?
    • Need of an Array
    • How to Create an Array
    • Index in Array
    • Array length
    • Array Declaration
    • Looping Array
    • Array Functions
    • push()
    • pop()
    • unshift()
    • shift()
    • toString()
    • join()
    • concat()
    • splice()
    • slice()
    • sort()
    • reverse()
    • forEach()
    • at()
    • map()
    • filter()
    • reduce()
    • find()
    • findIndex()
    • some()
    • every()
    • flat()
    • flatMap()
    • Summary
    • Interview Questions
    • Videos
  • Objects
    • What is an Object?
    • Creating an Object
    • Accessing Properties
    • Object Properties
    • Array in Object
    • Function in Object
    • Uses of this
    • Object Methods
    • Object.keys()
    • Object.values()
    • Object.entries()
    • For...of Loop
    • Safe Access: Optional Chaining
    • Summary
    • Interview Questions
    • Videos
  • Functions Advanced
    • First Class Function
    • Higher Order Function
    • Callback Function
    • setTimeout & clearTimeout
    • setInterval & clearInterval
    • call and apply
    • bind Method
    • IIFE
    • Closures
    • Hoisting
    • Temporal Dead Zone
    • DRY Principle
    • Currying
    • eval()
    • Recursion
    • Summary
    • Interview Questions
    • Videos
  • Set
    • What is a Set?
    • Creating a Set
    • Elements Order
    • Set Functions
    • size
    • has()
    • delete()
    • Other Functions
    • Index in Set
    • for...of Loop
    • Set to Array
    • forEach()
    • WeakSet
    • Summary
    • Interview Questions
    • Videos
  • Map
    • What is a Map?
    • Creating a Map
    • Adding Values
    • Chaining
    • Map Functions
    • get()
    • has()
    • size
    • clear()
    • delete()
    • Array as Key
    • Iteration of Map
    • Object to Map
    • Map to Array
    • forEach()
    • WeakMap
    • Summary
    • Interview Questions
    • Videos
  • Destructuring
    • What is Destructuring?
    • Reverse Values
    • Returning Two Values
    • Nested Array
    • Default Values
    • Destructuring Objects
    • Extract Value
    • Different Property Name
    • Nested Object
    • Destructuring in Function
    • Summary
    • Interview Questions
    • Videos
  • Spread Operator
    • What is the Spread Operator?
    • Copy Array
    • Join 2 Arrays
    • String to Array
    • Passing Array as Function Arguments
    • Shallow Copy Using Spread
    • Summary
    • Interview Questions
    • Videos
  • Rest Parameter
    • What is the Rest Parameter?
    • Assign Values
    • Rest Element Must Be Last
    • Assign Values in Object
    • Variable Arguments in Function