JavaScript Session 54 Tamil 🚀 | String, Number, Boolean, Date, Set, Map | new Keyword Explained P-5
EarthTutorialOnline
0:00 / 0:00
JavaScript Session 54 Tamil 🚀 | String, Number, Boolean, Date, Set, Map | new Keyword Explained P-5
119 просмотров · 7 дн. назад
EarthTutorialOnline
203 подписчика
119 просмотров · 7 дн. назад
👋 Hi Students! ✨ 🚀 JavaScript Built-in Constructors Explained in Tamil | Part 5 | 💻🚀 Use the timestamps below to jump to each topic Quickly📚
⏱️ Timestamps:
0:00 — Introduction 🌟
1:30 — Project Lists
2:40 — Support Me (QR)
3:10 — Session Starts
5:12 — String ( ) Constructor
17:35 — new String ( ) Wrap Obj
22:15 — Why Avoid ? new String ( )
34:19 — String ( ) Vs .toString ( )
43:18 — Number ( ) Constructor
51:46 — new Number ( )
55:27 — Why Avoid ? new Number()
1:01:21 — Boolean ( ) Constructor
1:03:31 — new Boolean ( )
1:09:58 — Date ( ) Constructor
1:13:35 — new Date ( )
1:21:21 — new Set ( )
1:28:22 — new Map ( )
1:36:05 — Using the new Keyword Usage
In this video, we will learn about the 6 important JavaScript Built-in Constructors — String(), Number(), Boolean(), Date(), Set(), and Map() with practical examples, outputs, and clear Tamil explanations.
💡 Main Focus:
✅ What are JavaScript Built-in Constructors?
✅ Why do we use the new keyword?
✅ What happens when we use or don't use new?
✅ Primitive Values vs Wrapper Objects
✅ Understanding typeof with examples
✅ JavaScript TypeError explained
✔ When to use the new keyword in JavaScript
✔ When NOT to use the new keyword
✔ Difference between primitive values and wrapper objects
✔ Why String(), Number(), and Boolean() work without new
✔ Why Date(), Set(), and Map() need new to create their respective objects
✔ JavaScript constructor errors and typeof outputs
📚 Topics Covered in This Video:
🔹 1. String() Constructor
What is String() and why do we use it?
String() vs new String()
Primitive String vs String Wrapper Object
Why should we avoid new String()?
Understanding typeof output
🔹 2. Number() Constructor
Convert String values into Numbers
Number() vs new Number()
Primitive Number vs Number Object
Why is new Number() not recommended?
Examples with typeof
🔹 3. Boolean() Constructor
Convert values into true or false
Boolean() vs new Boolean()
Why is new Boolean(false) truthy?
Common mistakes and unexpected results
Understanding typeof output
🔹 4. Date() Constructor
Why do we use Date() in JavaScript?
Date() vs new Date()
Why does Date() return a String?
Why is the new keyword important for Date objects?
How to use built-in Date methods
Date object vs Date string
🔹 5. Set() Constructor
What is Set() in JavaScript?
Why do we use Set()?
How to remove duplicate values using Set
Why is new Set() compulsory?
What happens when we call Set() without new?
Understanding TypeError
🔹 6. Map() Constructor
What is Map() in JavaScript?
Why do we use Map()?
How to store key-value pairs
Why is new Map() compulsory?
What happens when we use Map() without new?
Understanding Map set() and get() methods
TypeError explained
If you find this video useful, Like, Share, and Subscribe for more JavaScript tutorials in Tamil!
🔥 Watch the complete video, practice the examples, and strengthen your JavaScript fundamentals!
👍 Like | 🔔 Subscribe | 🔁 Share | 💬 Comment | 💖 Support me...
🔥 Support the channel 👍 | 🔔 Subscribe for more JavaScript videos 🚀
#JavaScript #JavaScriptTamil #JavaScriptTutorial #JavaScriptForBeginners #JavaScriptConstructors #BuiltInConstructors #NewKeyword #StringConstructor #NumberConstructor #BooleanConstructor #DateConstructor #JavaScriptSet #JavaScriptMap