Searching in

Enter search term to find items
to navigate, to select, and to close
Skip to content
CodeWithVarun

  • Home
  • System Design
    • High Level Design (HLD)
    • Low Level Design (LLD)
      • Object-Oriented Programming (OOP)
  • Data Structures & Algorithms
  • Javascript
  • Home
  • System Design
    • High Level Design (HLD)
    • Low Level Design (LLD)
      • Object-Oriented Programming (OOP)
  • Data Structures & Algorithms
  • Javascript
  • Javascript

    Explain Set vs Map vs plain Object in JS

    August 15, 2025 - By Varun Shihara

    Alright — here’s a clear breakdown of how Set, Map, and plain Object differ in JavaScript. 1. Set Example: When to use: 2. Map Example: When to use: 3. Object Example: When to use: Quick Comparison Table Feature Set Map Object Stores Values only Key–Value pairs Key–Value pairs Keys type…

    Continue Reading
  • Javascript

    What is new Set(); in JavaScript

    August 15, 2025 - By Varun Shihara

    In JavaScript, creates a Set object, which is a built-in collection type that stores unique values — meaning no duplicates are allowed. Key points about a Set in JS Example Common Use Cases

    Continue Reading
Newer Posts 

Categories

  • Agile & SDLC
  • Data Structures & Algorithms
  • Javascript
  • Low Level Design (LLD)
  • Object-Oriented Programming (OOP)
  • Software Engineering
  • Typescript
  • Uncategorized

Recent Posts

  • Agile Software Development Methodology – A Complete Guide (Everything in One Place)
  • TypeScript Crash Course: Learn TypeScript in One Read (For JavaScript Developers)
  • HashMap in JavaScript: The Fastest Way to Store and Find Data
  • Data Structure and Algorithms
  • Day 1 – Introduction to DSA & Why It Matters
  • About CodeWithVarun
© CodeWithVarun.in - 2026
Graceful Theme by Optima Themes