Day 27 of #100DaysOfCode – Understanding JavaScript Data Types Today’s session focused on one of the most important JavaScript fundamentals data types and how they define the nature of values we work with in code. Key Learnings: Explored different data types: float, number, char, string, boolean, null, NaN, undefined, infinity, array, object, and symbols. Understood the difference between primitive and reference (non-primitive) data types. Learned which data types fall under each category and how they behave in memory. Also went through the concept of comments and their role in writing cleaner, readable code. Takeaway: Knowing how data types work is crucial — it helps prevent bugs, optimize memory usage, and write predictable, efficient JavaScript code. Appreciation to Harsh Vandana Sharma from Sheryians Coding School and Sheryians Coding School Community for delivering today’s topic with such clarity and depth. #100DaysOfCode #JavaScript #WebDevelopment #CodingJourney #Frontend #Learning
Understanding JavaScript Data Types for Efficient Coding
More Relevant Posts
-
🗓️ 𝐃𝐚𝐲 𝟐𝟖 – 𝖩𝖺𝗏𝖺𝖲𝖼𝗋𝗂𝗉𝗍: Comments & Data Types Today I explored essential JavaScript concepts: 💬 𝗖𝗼𝗺𝗺𝗲𝗻𝘁𝘀 – single-line (//) and multi-line (/* */) for better code readability 🔢 𝗗𝗮𝘁𝗮 𝗧𝘆𝗽𝗲𝘀 – understanding JavaScript’s types: 𝘗𝘳𝘪𝘮𝘪𝘵𝘪𝘷𝘦: Number, String, Boolean, Null, Undefined, Symbol 𝘕𝘰𝘯-𝘗𝘳𝘪𝘮𝘪𝘵𝘪𝘷𝘦/𝘙𝘦𝘧𝘦𝘳𝘦𝘯𝘤𝘦: Array, Object 𝑺𝒑𝒆𝒄𝒊𝒂𝒍 𝒗𝒂𝒍𝒖𝒆𝒔: NaN, Infinity ⚙️ 𝘗𝘳𝘪𝘮𝘪𝘵𝘪𝘷𝘦 𝘷𝘴 𝘙𝘦𝘧𝘦𝘳𝘦𝘯𝘤𝘦 𝘋𝘢𝘵𝘢 𝘛𝘺𝘱𝘦𝘴 – differences in memory storage and behavior ✅ 𝗧𝗮𝘀𝗸 𝗰𝗼𝗺𝗽𝗹𝗲𝘁𝗲𝗱: Check the repo here: https://lnkd.in/gbwFwDQQ Gaining a solid foundation for writing clean, error-free code! 💪 #JavaScript #Cohort2_0 #FrontendDevelopment #LearningJourney #Sheryians Sheryians Coding School Sheryians Coding School Community
To view or add a comment, sign in
-
-
📸 Day 28: Mastering JavaScript Data Types 🧠💻 Today I explored one of the most fundamental parts of JavaScript — Data Types. 🔹 Primitive Types: Number | String | Boolean | null | undefined | NaN | Infinity | Symbol 🔹 Non-Primitive Types: Array | Object 💡 Key Insight: Primitives store simple, single values, while Non-Primitives hold references to complex data. This distinction changes how data behaves inside your programs! ⚡ Learning and leveling up every day with Sheryians Coding School Cohort 2.0 ✨ Big thanks to @harshvandanasharma, and @sheryians_coding_school 🙌 Which data type tripped you up the most when you started learning JS? 🤔👇 Connect with me: GitHub: github.com/octaveweb X: @KaranSwarnakar LinkedIn: https://lnkd.in/d8KfX8fS Facebook: https://lnkd.in/dh6C_9af #Day28 #JavaScript #DataTypes #Frontend #WebDev #CodingTips #Sheryians #LearningJourney #Cohort2
To view or add a comment, sign in
-
🧑💻 Day 28 | JavaScript Data Types – Phase 2 (Cohort 2.0) Today’s deep dive into JavaScript was all about Data Types — the building blocks of every program! 💡 🔍 What I Learned: 🧩 Primitive types: string, number, boolean, null, undefined, symbol, bigint 🧠 Reference types: arrays, objects, functions 🔢 Special values: NaN, Infinity and their unique behavior 💭 Type coercion & dynamic typing in JS 💡 Key Takeaways: ✅ Clear difference between primitive & reference data types ✅ typeof null → “object” (the classic JS bug) ✅ NaN is actually a number 🤯 🎯 Mentor’s Advice: 💼 Customize your portfolio & resume for each company’s tech stack 💪 Master your fundamentals before diving into frameworks 🚀 Don’t fear rejection — focus on learning & progress 👨🎓 Student at: Sheryians Coding School 👨🏫 Mentor: Harsh Vandana Sharma ✨ #Cohort2_0 #JavaScript #Frontend #WebDevelopment #DailyLearning #DSA #CodingJourney #LearningNeverStops #Consistency #CareerAdvice #SheryiansCodingSchool #GenAI Sheryians Coding School Community Sheryians AI School Sheryians Design School
To view or add a comment, sign in
-
-
𝗗𝗮𝘆 𝟮𝟲: The Adventure Begins — Introduction to JavaScript! 🌟💻 The moment we’ve been waiting for has arrived! Day 26 of the AI Powered Cohort marked the official start of our JavaScript module. Today was all about getting a solid introduction and overview of this fundamental programming language: 𝗪𝗵𝗮𝘁 𝗶𝘀 𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁? We learned that it's a high-level, interpreted scripting language primarily used to create interactive and dynamic content on websites. It’s the "behavior" layer of the web! 𝗖𝗼𝗿𝗲 𝗙𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀: We started with the absolute basics, covering how to execute simple JS code in the browser console and understanding the role of the JS engine. 𝗕𝗮𝘀𝗶𝗰 𝗦𝘆𝗻𝘁𝗮𝘅 𝗢𝘃𝗲𝗿𝘃𝗶𝗲𝘄: Got a quick look at variables, data types, and simple operations—the building blocks of any JS program. The transition from the declarative languages (HTML/CSS) to a procedural language like JavaScript is challenging but thrilling. This foundational session was crucial for setting the right perspective for the complex topics ahead. Excited for the practical coding to come! #Day26 #CodingJourney #AIpoweredCohort #JavaScriptIntroduction #ProgrammingBasics #WebDevelopment #Frontend #SheryiansCodingSchool #TechEducation
To view or add a comment, sign in
-
-
Primitive vs Non-Primitive Data Type in JavaScript I remember when I was learning Javascript, I often got confused between primitive and non-primitive (or reference) types. But as soon as I could visualize how it works in memory — everything fell into place! 💡 Here’s the key idea 👇 🧱 Primitive (as in string, number, boolean, null, undefined, symbol etc) → store plain values into the memory (stack). 🧩 Non-Primitive types (object, array, function) → store addresses (references) to values in memory (heap). So when we copy a primitive value, it becomes a new one. Non-primitive types are different: when we copy them, the two variables still point to the same object! 😯 So knowing this small detail really HELPS a LOT in debugging and Understanding JavaScript behavior better. 💬 Have you ever been surprised by how objects or arrays behave in JS? #JavaScript #WebDevelopment #CodingJourney #FrontendDevelopment #LearnToCode #Programming #DeveloperCommunity #CodingBasics
To view or add a comment, sign in
-
-
I'm back with Day 2 of my JavaScript deep dive! 💻 Today's focus is on mastering Data Types and the Type System—the area where many subtle bugs in JS originate. This set of questions is key to understanding how JavaScript really works: Primitive vs. Reference data types (Why does changing one object change another?) Dynamic Typed Language (What this means for type checks) Truthy and Falsy (Essential for conditional logic) Quirks and Type Coercion (The "gotchas" every JS developer must know!) Mastering this ensures you can write predictable and robust code. I'm grateful to Sheryians Coding School, Cohort 2.0, for the guidance through these critical topics! What's the trickiest JavaScript coercion quirk you've run into? Share your experience below! 👇 Connect with me: My GitHub: https://lnkd.in/d7zWUeDG My X: https://lnkd.in/dn3yZDYY My Facebook: https://lnkd.in/dV3uHhZY #JavaScript #CodingFundamentals #DataTypes #TypeSystem #TypeCoercion #SheryiansCodingSchool
To view or add a comment, sign in
-
-
#100DaysLearningChallenge with Saurabh Shukla Sir. 🎯 Day 21: Hash Table in JavaScript — Fast Lookups Made Easy ⚡🔍 Yesterday, I explored the Set in JavaScript — understanding how it ensures uniqueness and simplifies data handling. Today, I delved into one of the most fundamental and powerful data structures — the Hash Table — the backbone of efficient data retrieval in programming. 🧠 What’s a Hash Table? A Hash Table stores data in key–value pairs, allowing super-fast access, insertion, and deletion. It uses a hashing function to compute an index where each value is stored, ensuring efficiency even with large datasets. 🛠️ What I learned and implemented: ✅ Understood how hashing works and why it’s crucial for performance ✅ Created Hash Tables using JavaScript’s built-in Map and object literals ✅ Performed operations like adding, retrieving, and deleting key–value pairs ✅ Explored key methods of Map — set(), get(), has(), and delete() ✅ Handled collisions and learned about load factors and rehashing concepts 📂 Real-world use cases: ➡️ Implementing caches and lookup tables ➡️ Counting frequencies (like word occurrences) ➡️ Storing configuration settings or metadata ➡️ Efficiently mapping keys to values in algorithms 👨💻 Hash Tables are the foundation of many advanced data structures and algorithms. Understanding them helps in writing optimized and scalable code. 📒 Pro tip: Try implementing your own hash function and build a simple Hash Table from scratch to grasp the inner mechanics! 📹 Video reference (MySirG): https://lnkd.in/gxXDfYfx 💻 Source Code (GitHub): https://lnkd.in/g_JQcTXi 🚀 From maintaining uniqueness to mastering quick lookups — every day brings me closer to deeper mastery! #100DaysLearningChallenge #Day21 #HashTable #JavaScript #DataStructures #CleanCode #LearningInPublic #DevJourney #AlgoDaily #CodeSmart
Master HashTable in JavaScript | Complete Implementation Explained Step-by-Step
https://www.youtube.com/
To view or add a comment, sign in
-
Day 30 | Cohort 2.0 Journey Data Types in JavaScript: Understanding the Building Blocks 🧱✨ Today was all about diving deeper into JavaScript fundamentals with Harsh Vandana Sharma from Sheryians Coding School especially data types which define the nature of values we work with in programs. 🔹 Covered Types: Number — Integers & floating values Float — Decimal numbers Boolean — true or false String — Text & characters Null — Intentionally empty Undefined — Value not assigned NaN — Not-a-Number result from invalid math Primitive & Reference Data Types — Important memory behavior differences Understanding these helps reduce silly bugs and write cleaner logic 🎯 Every small concept is a powerful step towards becoming a Full Stack Developer! 🚀 #Day30 #JavaScript #DataTypes #LearningJourney #WebDevelopment #Frontend #Cohort2 #SheryiansCodingSchool
To view or add a comment, sign in
-
🫢 Ever wondered what happens behind the scenes when you reassign a value in JavaScript? 🤔 👉 When you update a primitive data type (like string, number, boolean, undefined, null, symbol, or bigint), you’re not actually changing the existing value. 👉 Instead, JavaScript silently creates a new value in memory and points your variable to it. 🎯 👉 It’s like getting a brand-new notebook instead of erasing the old one — the old still exists, but you’ve just started fresh. 📒 ✨ So, while it looks like you’re modifying the value, you’re actually reassigning a new memory reference every time. 🌠 As they say, “Appearances can be deceiving.” 😉 The value seems to change, but deep down, it never truly does! 💡 In short: We often know that strings are immutable, but here’s the twist — all primitive data types are immutable in JavaScript! 🔥 💬 Idiom: “Appearances can be deceiving.” — Things may not be as they seem; something that looks one way on the surface may actually be very different underneath. #JavaScript #CodingTips #Programming #TechInsights #LearnToCode #DeveloperLife #FrontendDevelopment #CodeWisdom #ProfessionalLearning #CareerGrowth #JS #WebDevelopment
To view or add a comment, sign in
-
-
🚀 Master JavaScript Arrays — From Basics to Advanced! Arrays are the backbone of data manipulation in JavaScript — from handling lists of items to building complex data structures. 📊 This guide covers everything you need to know — ✅ Creating, accessing, and modifying arrays ✅ Copying & cloning techniques (mutable vs. immutable) ✅ Modern methods like toReversed(), toSorted(), toSpliced(), and with() ✅ Deep dive into static & iterator methods (map, filter, reduce, find, flatMap, and more) ✅ Practical exercises and real-world challenges Whether you’re a beginner brushing up your fundamentals or an intermediate dev polishing your skills, this post is packed with examples and clear explanations to make Arrays second nature. 💪 📄 Download the full PDF below and start mastering one of the most powerful parts of JavaScript today. #JavaScript #FrontendDevelopment #WebDevelopment #Coding #Learning #Arrays #JSDeveloper
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development