Functional Programming | Lecture 10 | Javascript

preview_player
Показать описание
Join Chirag Sir as he explores essential functional programming concepts in JavaScript. Covering topics like for Each, map, filter, reduce, and every, you'll gain a deep understanding of these powerful methods and their applications. Chirag Sir's clear explanations and real-world examples will help you grasp these concepts effectively, enabling you to write more concise and elegant code. Whether you're a beginner or an experienced developer, this video will equip you with the knowledge to level up your JavaScript skills and embrace the power of functional programming.

00:00 - Introduction
01:29 - Introduction to for Each
02:51 - Display all items added to a cart on an ecommerce application using for Each
06:44- Print all the parameters and the position where item is added and total cart items
15:32 - Map() method
16:30 - A website is storing the price as strings and you have to convert all the prices in the cart to numbers so that the total can be calculated
18:00 - Filter() method
23:25 - Print long username i.e. the user names whose length is 5
24:18 - Reduce() method
27:40 - Example
33:56 - Every() method
35:34 - Check if all the array elements are of the same data type
39:17 - Find() method
42:05 - Check if an element is present in an array or not
44:42 - Sort() method
46:13- Example
50:45 - Compare() function
For any Batch Related Queries Please Connect - 7019243492

1) Data science Masters 2.0

2) Full Stack Web Development 2.0

3) Java with DSA and System Design 2.0

📌 𝐏𝐇𝐘𝐒𝐈𝐂𝐒 𝐖𝐀𝐋𝐋𝐀𝐇 𝐎𝐓𝐇𝐄𝐑 𝐘𝐎𝐔𝐓𝐔𝐁𝐄 𝐂𝐇𝐀𝐍𝐍𝐄𝐋𝐒 :

#FunctionalProgramming #Javascript #JavascriptTutorial #CollegeWallah #PhysicsWallah #PWSkills
Рекомендации по теме
Комментарии
Автор

[10].I have seen this lecture today.I have completely understood all the concepts you explained in class. Your teaching method was very simple and effective, which made me understand everything easily. I am very grateful to you for your guidance and hard work. Your student, [Ayush & Adarsh]...🫡❤️
28TH JUNE 2024...

NirajKumarPandey
Автор

you are great teacher. i like your teaching skills. there are some topics of JS which are not included in this. i want to learn from you. bcoz i am a beginner.

jineshkhiraiya
Автор

var a = ["python", "cpp", "javascript"];
const b = a.filter((item)=>{
if((item.length)>5)
{
return true;
}
return false;
})

console.log(b);

computerscience
Автор

now where to go after this JS course ??

coder_aj_
Автор

Sir make more video your explanation is so good

rekhabhardwaj
Автор

Sir why didn't you complete asynchronous and lots of thing although you really very well i learnt everything very easily by you but sir pls if you can then please make video on this thing as well

NishuMishra-sl
Автор

Sir please series ko restart kijiye
Bahut time ho gye lecture upload hue❤

Himanshu_
Автор

Hello sir aapki class Maine aaj hi Dekhi h bhut accha padhte ho aap aapka koi paid course bhi h kya web development ka MERN stack ka agr h to plzz reply me sir❤❤

Anita.choudhary
Автор

Can anyone tell me is this last lec and last topic of JS??

AmarSingh-iscd
Автор

Const arr = [ "hamid", "Faizan", "Faizanhamid"];
Const newarr = arr.filter(function
If(item.length>5){
Return true;
}
Return false;
})
Console.log(newarr);

TheMexon
Автор

const name = ['ram', 'shyam', 'lakshman', 'krishna'];
const namefilter = name.filter(x => x.length>5);

gg.gyroguru
Автор

var namelist = ["Python", 'Java', 'javascript'];

var newnamelist = namelist.filter((item, idx) => {
if (item.length > 4) {
return true;
}
return false;
})
console.log(newnamelist)

RohitSharma-cfbn
Автор

Sir regular expression pr details video bnae please

haroonkashmiri
Автор

Sir next lecture sir... Ab lagta hai ki agle sal he ayaga😂😂😂

QuantumXdeveloper
Автор

Maja agaya sir ji please 1 day gap karke video dalna please sir 🙏

Nebula_official_
Автор

please upload the next topic gela hafte se wait kar raha hu

dnyaneshwarthakur
Автор

Ab js me DSA laa dete toh achha hota sir

thephalcon
Автор

Sir please continue upload lecture....😢

gurughantal
Автор

Sir 3 weeks ho Gaye where is next lecture's

bhaveshnikam
Автор

const arr = ["javasciprt", 'php', 'python', 'cpp']
const output = arr.filter((ele)=>{
if(ele.length>5) return true
else return false
})
console.log(output)

-jerrybritto