Lecture 5: Functions & Methods | JavaScript Full Course

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ •

  • @shradhaKD
    @shradhaKD  Рік тому +433

    Lecture 6 will come after 1 day (23rd Nov)
    This is given to revise HTML, CSS
    If tutorial needed then I have taught both HTML, CSS on Apna College as one shots❤

  • @AmanKumar-oj1ks
    @AmanKumar-oj1ks Рік тому +262

    0:49--- Chapter start
    20:58--Arrow function
    27:12--Practice set
    34:18--For each loop in array
    43:45--Practice set
    46:40--More array methods(map methods)
    50:22----(Filter method )
    53:05-----(Reduce method)
    01:00:45---Practice set

  • @shresthshukla3061
    @shresthshukla3061 Рік тому +102

    00:01 Functions in JavaScript are blocks of code that perform specific tasks.
    01:59 Functions in JavaScript allow us to perform the same work repeatedly.
    05:55 Functions in JavaScript are defined using the function keyword, followed by the function name, parentheses, and curly braces.
    08:01 Function is defined but needs to be called to execute its code.
    12:22 Understanding function parameters and arguments
    14:31 Functions in JavaScript can take input, perform tasks, and return values.
    18:27 Locals act like local variables
    20:32 Introduction to Arrow Functions
    24:18 Arrow functions in JavaScript are used for small tasks and can be stored inside variables.
    26:06 Functions can be used to perform calculations and print values.
    30:02 Count the occurrence of vowels in a given string
    32:07 VS Code improved our code and introduced helpful extensions
    36:09 Functions and methods in JavaScript
    38:06 Functions in JavaScript can be passed as arguments to other functions.
    41:51 Higher order functions are functions that call other functions or use a function as a parameter or return a function.
    43:44 Print the square of each value in a given array of numbers using the forEach loop
    47:23 The map function in JavaScript can be used to perform operations on each element of an array and generate a new array.
    49:13 Functions and methods in JavaScript
    52:47 Reduce method in JavaScript reduces an array to a single value
    54:33 The code demonstrates the use of the reduce method in JavaScript to calculate the sum of an array.
    58:12 JavaScript reduce method is used to find the largest element in an array.
    59:57 Filter out marks of students that scored 90 plus
    1:04:01 Use the reduce method to calculate the sum of numbers in the array
    1:06:01 The video explains how to calculate the factorial of a number using JavaScript's reduce method.

  • @Paradoxgaming607
    @Paradoxgaming607 5 місяців тому +505

    kon kon chahta hai ReactJS par full course aaye ? 👇

  • @강숏
    @강숏 Рік тому +74

    One of the best course. I was struggling with JS. Watched many tutorials. But this course is the best among all those tutorials. I am slow learner. I need to learn everything from scratch and in detail. This course is serving me really well. ❤

  • @Myownverson
    @Myownverson Рік тому +16

    I will attend whole js series consistently .thank u didu for this series.you are my favorite teacher.I have completed java,HTML,CSS AND now SQL with apna college.
    thanks alot the whole team of apna college.
    again thanku didu.

  • @krgtm
    @krgtm Рік тому +28

    First time learning JavaScript this way. Amazed❤

  • @SOUVIKMANDAL__
    @SOUVIKMANDAL__ Рік тому +24

    I've never ever seen this type of js course in the entire UA-cam platforms which is very easy to understand and easy to execute into the vs code ,,i really appreciate ma'am ❤

  • @sachinbelekar7884
    @sachinbelekar7884 Рік тому +10

    Mam apka course sabse achha hai. Apka teaching ka tarika sabse alag hai aur jo bhi aap topic teach krte ho wo pura detail me teach krte ho. Mai non- IT background se hu tabhi muje pura samaj aata ha. Mam plz is series ko aap continue 🙏 rakhiye.

  • @starboy0804
    @starboy0804 Рік тому +20

    TimeStamps
    0:50 Functions in JS
    20:10 Arrow Functions
    27:14 Let's Practice
    34:30 forEach loop in Arrays/Higher Order Functions
    43:50 Let's Pactice
    46:10 Map
    50:30 Filter
    53:05 Reduce
    1:00:50 Let's Practice

  • @gauravbansal71999
    @gauravbansal71999 Рік тому +23

    Hello Shradha First, I would like to thank you for making this course available at a time when I needed it most🤗. And no doubt, you are one of the best teachers I have seen. Now, I am requesting that you do something like, whenever you have time, please make one more video on this FUNCTION topic. And yes, I have one more request for you after you complete this whole series. You also make a series that is based on REACT. Its a hardly request💛

  • @parthism9117
    @parthism9117 29 днів тому +3

    30:02 Count the occurrence of vowels in a given string
    function vowelCount(word) {
    let vow = ["a", "e", "i", "o", "u"];
    let count = 0;
    for (let i = 0; i

  • @l4y694
    @l4y694 Рік тому +17

    I am trying to learn callbacks and arrays for a long period but shraddha didi's 1 hr video shows me how much i wasted earlier on other tutorial.
    Best teacher ever ❤️❤️❤️

  • @codingkran
    @codingkran 11 місяців тому +5

    I learned from every single problem, and Shradha ma'am ♥♥♥ thanks, for this course, I am your student from Pakistan.

  • @shaikshahed413
    @shaikshahed413 Рік тому +8

    @shradhaKD This is the best Js series I've ever come across.
    Apna college is a generous community providing best job oriented courses for free.
    I'm doing online fullstack development course from other Institution but fully satisfied by your content.

  • @ronakparjapati2264
    @ronakparjapati2264 Рік тому +5

    43:55 Logic of Practice Ques : print square of each value.
    function printSquare(arr){
    arr.forEach((value) => {
    console.log(value*value);
    })
    }
    let arr = [21, 30, 4, 50, 16];
    printSquare(arr)

  • @TechTalesAmin
    @TechTalesAmin Рік тому +10

    Hi.. I am working in an MNC, and my next project based on JS. These tutorials are boosting my confidence, as I was a backend java developer. Thanks a lot, keep going ❤

    • @ecogamers9763
      @ecogamers9763 Рік тому +2

      which company

    • @mad.for.videos
      @mad.for.videos 8 місяців тому

      Can u help me please to getting job as a fresher sir...?

  • @mrcoder105
    @mrcoder105 Рік тому +5

    Although javaScript is my favioute language, I love to learn the "reduce" and "splice" methods these methods are mind blowing and these are so super excited when I was using these methods in my project .

  • @mokabbirmisho2529
    @mokabbirmisho2529 Рік тому +4

    Your explaining style with an example is awesome. it incredibly helps me to understand. Thanks

  • @Cricket_70k
    @Cricket_70k Рік тому +4

    00:00 Understanding JavaScript Functions and
    Methods
    08:25 Understanding Function Parameters and Return
    Values in JavaScript
    16:48 Understanding Arrow Functions in JavaScript
    33:33 Understanding Arrow Functions and For Each in
    JavaScript
    41:57 Understanding Higher Order Functions and
    Array Methods in JavaScript
    50:19 Understanding the Reduce Method in
    JavaScript
    58:41 Using the Radius Method to Calculate the
    Largest Number in an ArrayUnderstanding JavaScript Functions and
    Methods

  • @Travelaroundtheworld1527
    @Travelaroundtheworld1527 Рік тому +115

    hi Shradha, I'm from Pakistan n living in US, I'm 40+ ,17 years ago I did my half master's in computer science from Pakistan then got married n I learnt nothing bcz I was also not entrusted that time, but now I realized in US I have to do something to get some smart paying job as my family going through some financial n health issues. I a month ago I started FreedCodeCamp free certification projects n I completed HTML n CSS certification , next was Java Script for that one I thought I need some extra help to do that Certification so I started searching on UA-cam n I found Ur channel I M LUCKYYYYYY u r awesome I'm learning from U but I need motivation from u Coz I'm 40+ n health issues so I forget whatever I learn n I keep looking back Ur videos . U r the Best Teacher I hope one day I would be able to do coding like u. And can u please make some videos how can we starts our careers in this field????? There is no one that I can get help from in this field. Ur well-wisher ❤ from Pakistan

    • @AryanGupta-ud8rk
      @AryanGupta-ud8rk 11 місяців тому +7

      nice to hear mam,keep learning

    • @Indmackrov
      @Indmackrov 10 місяців тому +11

      Jai Shree Ram

    • @heartlessmediose9337
      @heartlessmediose9337 9 місяців тому +2

      Hello AOA how are you? I hope you're doing well can you please tell me what's the ratio of CS in US do the US companies pay high related by CS?

    • @ViralShorts9156
      @ViralShorts9156 9 місяців тому +14

      @@Indmackrov hindutva ko badnaam karne aa gya

    • @Sid-i3u
      @Sid-i3u 7 місяців тому +4

      @@Indmackrov abe andh vakth, tuu yha pe vi aa gya. hindu o ko badnam karne.

  • @AtforYou-o8v
    @AtforYou-o8v Рік тому +12

    Thank you mam for such an amazing series of JS.

  • @AmaanABGamer
    @AmaanABGamer Рік тому +119

    Is course k lye mam ko Oscar milna chahye.. The best JS COURSE EVER.. ❤🎉

  • @sandeeptanjore1253
    @sandeeptanjore1253 Рік тому +2

    This lecture was fantastic. Loved the question "Take a number n as input from a user. Create an array of numbers from 1 to n"
    In fact attempted all the practice questions on my own. There were times when I struggled to induce and emanate logic. So cheated the solution 🙂
    Trying to finish all the lessons here before I can start node.js. (as she has covered Async/Await as well).

  • @tiraz3022
    @tiraz3022 Рік тому +4

    Mam ka smjhane ka tarika itna achha hota h ki 😍😍😍 koi bhi js sikh skta h ❤❤

  • @VanshTyagi-p1l
    @VanshTyagi-p1l 5 місяців тому

    1:03:57
    Alternate approach :
    let num = prompt("enter the number:");
    let array = [ ];
    for(let i=1; i

    • @farhan-b9k
      @farhan-b9k Місяць тому

      i dont know why but mam`s method does`t work,can you explain me why??

  • @123....infinityanish2
    @123....infinityanish2 5 місяців тому +3

    1:00:00 Ah reduce method se Largest element of an array nikalne wala method bohot hi acha laga didi!!

  • @gautamnaugai.iab94
    @gautamnaugai.iab94 11 місяців тому +2

    43:47
    #solution
    let arr = [1, 2, 3, 4, 5];
    arr.forEach((val)=>{
    console.log(val*val)
    })
    Thank you didi

  • @shoaibafridi5847
    @shoaibafridi5847 Рік тому +8

    Hello mem ! I am from pakistan and i watching this course from the first lecture . Your Explanation and method of teachiong is OUTSTANDING. I personaly Understand very easly on each and every things because i watch each lecture 2 or 3 times and practice it . Befor watching your lecture people ware says that java script is very tough but from wathcing your letures it is very simple and easy to understand. Have A Long Live. LOVE YOU ❤

    • @HeNepali
      @HeNepali 21 день тому

      pakistan jindabad 💕🙏

  • @LivingInPakistan
    @LivingInPakistan Рік тому +4

    Hello from Pakistan! You’re one of the BEST teachers for programming. Thank you so much for taking the time to create these lessons.

  • @SheikhMohammedAli04
    @SheikhMohammedAli04 7 годин тому

    Alhamdulilah 5th Lecture Complete And I Got A Basic Knowldege Of functions ❤️.

  • @booksDecodedd
    @booksDecodedd Рік тому +3

    didi your teaching skills are awesome i am a bsc student and start learing from you for last 2 months and i completed by html and css very well i request you after js please take a lecture on react and sql that will very helpful for me bcz meko bas apka padhaya smz atta hn......

  • @sayandeepsadhukhan5016
    @sayandeepsadhukhan5016 Рік тому +6

    Reduce, filter,map , forEach all are very smart and unique method ; This is very structed way of teaching , So, Thank you Sradha mam to share this video to improve our JS learning !💌💌💌

  • @vision10x73
    @vision10x73 Рік тому +3

    keep going guys !! keep the consistency

  • @rohitgajmer805
    @rohitgajmer805 5 місяців тому +1

    @Shradha ji app jo pause kar k khud se practice karne ko liye bolte hai ye concept bahut accha hai.. thnx u sab itne easy wy se batane k lye ..

  • @pratikshasonar1568
    @pratikshasonar1568 Рік тому +4

    Mam its my interview in this week and ur js series is really helping me please send next vedios as soon as possible

  • @waqasahmed1399
    @waqasahmed1399 Рік тому +2

    One of my favourite coding chanel shrdha g awsome ❤love from Pakistan 🇵🇰

  • @samiabdulwajid7029
    @samiabdulwajid7029 Рік тому +7

    Didi I am an alpha student and I am waiting for new delta batch ❤

  • @badshahossain5551
    @badshahossain5551 Рік тому +2

    One of the best js tutorials I've watched.

  • @ronakparjapati2264
    @ronakparjapati2264 Рік тому +4

    27:20 Logic of First practice Ques :
    function countVowels(userinput) {
    let count = 0;
    for (let char of userinput) {
    if (checkVowelOrNot(char)) {
    count++;
    }
    }
    return count
    }
    function checkVowelOrNot(char) {
    char = char.toLowerCase();
    if (char == 'a' || char == 'e' || char == 'i' || char == 'o' || char == 'u') {
    return true;
    }
    return false;
    }
    let totalVowels = countVowels("RonakBCA2023");
    console.log(totalVowels);

  • @ShovaChakrabarty
    @ShovaChakrabarty 4 дні тому

    Your teaching style is mind blowing . I just love you sister.

  • @ravigrover1923
    @ravigrover1923 Рік тому +3

    Please can you plan to cover callbacks and promises in the same detail and amazing explanation as your other videos. Best Wishes for this new series!!!

  • @zainsmart-kv5uy
    @zainsmart-kv5uy 21 день тому

    I'm from Pakistan and I really love and appreciate your way of teaching.

  • @fcrehu
    @fcrehu 5 місяців тому +3

    28:08 here i have to see again nd agin

  • @prince_123_
    @prince_123_ Рік тому +3

    Finally notes available check the discription 🎉🎉🎉

    • @manavvlog539
      @manavvlog539 Рік тому +1

      Notes download nahi ho rha

    • @prince_123_
      @prince_123_ Рік тому

      ​@@manavvlog539download per click kr k file me jakr dekho recently download me mil jayegi

  • @Deepak__Ghimire
    @Deepak__Ghimire 2 місяці тому

    Present here, enjoying this series ❤!
    Practice QS 1 Solution 28:00 =>
    // Number of Vowels check in an String
    function vowelCheck(w){
    let word = w.toLowerCase();
    let count = 0;
    for(let i = 0; i
    //code 2 using an Arrow Function :
    const vowelCheck2 = (w) => {
    let word2 = w.toLowerCase();
    let count2 = 0;
    for(let i = 0; i

  • @85MA
    @85MA 3 місяці тому +5

    React JS pay complete tutorial playlist plz plz plz

  • @alinaeem9156
    @alinaeem9156 11 місяців тому +1

    last practice question was awesome and thanks sharadha madam for exceptional js pro lecture may god bless u and your team love from pakistan

  • @danish5345
    @danish5345 4 місяці тому +7

    Abi kon kon dekh raha hai? 😂❤

  • @avi8034
    @avi8034 5 місяців тому +2

    I have studied JS even from Hitesh and Harry bhai but wasn't satisfied then I came here and everything seems to be drastically easy. Your explanations are just out of the world. Ab React bhi aap se hi padhna hai. Please React course bhi le aiye.

  • @vinaykumar-d5z
    @vinaykumar-d5z Рік тому +1

    just GOAT teacher of youtube after harry bhai

  • @thotaranjithkumar318
    @thotaranjithkumar318 9 місяців тому +1

    Nice explanation improved my understandhi skills. Thanks a lot mam.

  • @aqibshinwari5540
    @aqibshinwari5540 8 місяців тому

    all the topics cover by Shradha Mam............is very easy to understand..
    Thank you Mam
    Love from Pakistan

  • @Satheesh-ns5qi
    @Satheesh-ns5qi 4 місяці тому +1

    You are the god of my career🙏🙏Love from Tamil Nadu, Pondicherry❤🌟

  • @abhijeet01vlogentertainmen57
    @abhijeet01vlogentertainmen57 Рік тому +1

    44:35
    let arr = [5, 4, 5, 15, 25]
    arr.forEach(function myval(val){
    console.log(val**2)
    })

  • @prashantprasad6405
    @prashantprasad6405 2 місяці тому

    It was amazing learning JS with Shraddha. I have learned a lot even after leaving my studies after graduation. I am trying to get on track.
    Your videos are very helpful. Thanks for all your effort in making his video for us. ❤

  • @SrinivasMuthukumar
    @SrinivasMuthukumar 6 місяців тому

    Madam, I can assume how much effort was put in to prepare this and deliver. Huge respect to you and who helped you🙏

  • @tech-dt2gf
    @tech-dt2gf 6 місяців тому

    1:02:55 my answer
    let n=prompt("enter your no");
    no = [ ];
    for (i=1;i{
    return a+b ;
    });
    console.log(sum);
    console.log(no);

  • @amenaakter6621
    @amenaakter6621 8 місяців тому

    For me the JavaScript series, especially the last one-question exercise, is the best lecture:function & method, I've ever seen.

  • @akshupdf
    @akshupdf 8 місяців тому +1

    Hey @shradhaKD,
    As a MERN stack freelancer for over 2 years, I've mainly focused on frontend, particularly converting Figma to React.js. Recently, I've been job hunting and realized my JavaScript basics are weak, causing rejections in interviews. Your YT series is helping me bridge that gap. Grateful for your content!
    😇

  • @HadiaRafique-s4e
    @HadiaRafique-s4e 5 місяців тому +1

    Code like a boss...Solve problems like a pro...The only way to learn coding is by coding😇

  • @sameershahidbutta
    @sameershahidbutta 4 місяці тому

    Lecture blkay ye poori playlist hi top-notch hy overall! Mera favorite question factorial wala tha. Thank you so much Shradha Didi ❤

  • @fareedhussain2407
    @fareedhussain2407 4 місяці тому

    i am from pakistan maam!.... there are no comparision with other teachers you are the best your learning thoughts is absolutely understandable for me such a good understanding about this course... thanks
    My ptayer is that you keep making such videos for us

  • @rohit8993
    @rohit8993 10 місяців тому +1

    mujhe function wala topic bahut badiya laga . asa laga ki haa ab thoda complex hotha jaa raha hai . i like it

  • @GR8Gamerz108
    @GR8Gamerz108 6 місяців тому

    43:55 Logic of Practice Ques : print square of each value.
    let arr = [1, 2, 3, 4, 5] ;
    arr.forEach((val) => {
    console.log(val * val);
    })

  • @sandeepkarne8407
    @sandeepkarne8407 3 місяці тому +2

    mene pehli bar saare array methods ko tik se samjgaya and end wala code mene full pehli bar bina answer deke code ka logic likaha wa majagaya bahut mast padaya didi aapne ty dilse shukriya aapka ❤

  • @creativecapacity
    @creativecapacity 21 день тому

    I watched the video twice, on second time I understood the complexity. Cool

  • @harshilparmar5662
    @harshilparmar5662 20 днів тому

    really a nice way of teaching! i have solved all practice problems by myself!

  • @AlokKumar-hv7fx
    @AlokKumar-hv7fx Рік тому

    Best Js tutorial on youtube ...doing great keep it up

  • @Abdullah-d2b
    @Abdullah-d2b Місяць тому

    mam your tutorials better than any well-known universities

  • @NirmaAbro14
    @NirmaAbro14 11 місяців тому

    Learning from pakistan , no doubt your way of is excellent , well defined properly explained each and every concepts , thanks aloot,

  • @Suraj-qs4ym
    @Suraj-qs4ym Рік тому +1

    REGULAR WATCHING YOUR VIDEO LOVE FROM इंडीया थँक्यू वरी MUCH FOR THISE VALUABLE COURSE

  • @Ahmii0109
    @Ahmii0109 4 місяці тому

    Best lecture on Function and Methods in JavaScript 🎉

  • @annueasyartcraft8853
    @annueasyartcraft8853 8 місяців тому +2

    Wow oosam course in youtube. Thank you so much mam 😄😄😄

  • @7OCxYT
    @7OCxYT 6 місяців тому

    i am learning from u from last 1 month i learned (HTML , CSS ) and now i am learning JS i am too happy with it but in this video i am too much confused in Functions , but rather than it U R A awesome teacher . Ur well wisher ❤ from INDIA

  • @shalinithomas8978
    @shalinithomas8978 4 місяці тому

    Loved the way you explained callback function and other imp methods. God bless you :)

  • @rahulmeena4948
    @rahulmeena4948 11 місяців тому

    time stamps
    0:49--- Chapter start
    20:58--Arrow function
    27:12--Practice set
    34:18--For each loop in array
    43:45--Practice set
    46:40--More array methods(map methods)
    50:22----(Filter method )
    53:05-----(Reduce method)
    01:00:45---Practice set

  • @nikhilpratap7655
    @nikhilpratap7655 Місяць тому

    27:12 - square practice question, I made this by my understanding but your knowledge
    let arr=[2,4,6,8,];
    let square=0;
    arr.forEach((val) => {
    square=val*val;
    console.log(square);
    });

  • @Bakhudiansochan
    @Bakhudiansochan 2 місяці тому

    kamal he shradaKD teacher kamal he ap ka tareeka detail options you catch all awesome i love your method of teaching

  • @waqasahmed1399
    @waqasahmed1399 Рік тому +1

    Practice questions jo krwate ap sath sath its superb❤

  • @AmjadAli-ns9kl
    @AmjadAli-ns9kl 10 місяців тому

    I have started this course few day before now I really enjoy learning with Shraddha didi❤❤❤❤❤ thank you so much didi

  • @LaxmiPaudelDhakal
    @LaxmiPaudelDhakal 3 місяці тому

    let n = prompt("Enter a number");
    let a = []; // Initialize an empty array
    for (let i = 1; i {
    return pre + cur; // Calculate the sum
    });
    console.log(redaa); // Log the sum
    let redmula = a.reduce((pre, cur) => {
    return pre * cur; // Calculate the product
    });
    console.log(redmula); // Log the product

  • @akashpatel045
    @akashpatel045 Рік тому +1

    More array method is very interesting
    Thanku so much mam

  • @zahidsham7208
    @zahidsham7208 7 місяців тому

    I am from pakistan ...I have great respect for talented people...I wish and I hope that 1 day I would be programmer like you...

  • @swarnchaudhary1035
    @swarnchaudhary1035 Рік тому +1

    Should we bow??
    Yeah she is queen❤🎉

  • @sivasathvikpaturi209
    @sivasathvikpaturi209 6 місяців тому

    Excellent teaching 1 stop solution for Java script ❤❤❤

  • @Business_verbal_craft
    @Business_verbal_craft 4 місяці тому

    Other js course on youtube are not really beginner friendly .. but this course and teaching skills are amazing ❤ really helpful

  • @naeemullah94
    @naeemullah94 Рік тому +2

    Struggling with js. Finally found this channel. Thank you so much maam for this amazing course. You have such a great method of teaching. Love and respect from Pakistan💖💖💖

  • @DipsOfficial802
    @DipsOfficial802 Рік тому +1

    new concept like filter, reduce were awesome
    🔥🔥🔥🔥

  • @Asim_Ali4857
    @Asim_Ali4857 Рік тому +1

    Thanks a lot I learnt so many new things in these lectures and in this lecture my favorite question was Q5

  • @Bablu9934
    @Bablu9934 Рік тому

    Aap tho bohot badiya sikha rhe h ji. Aaj tak mujhe in topics ko seekne me bohot confusing lag rha tha, aap tho badi aasan se sikha diye

  • @sarahhassan286
    @sarahhassan286 5 місяців тому +1

    I LOVE JS BEST LACTURE FOR SHRADHA KHAPRA 😄😄😄😎

  • @sahilxrajput
    @sahilxrajput 16 днів тому

    Timestamps (Powered by Merlin AI)
    00:01 - Functions are blocks of code that perform specific tasks.
    01:59 - Functions in JavaScript are reusable blocks of code that can be called at any time.
    05:55 - Functions and methods in JavaScript allow us to define and execute reusable code.
    08:01 - Defining and calling functions in JavaScript
    12:24 - Functions and methods in JavaScript help in defining and using arguments and parameters.
    14:31 - Functions can take input, return values, and use the 'return' keyword to send back values.
    18:27 - Local variables and their scope within a function
    20:32 - Creating and using arrow functions in JavaScript
    24:18 - Arrow functions in JavaScript and their usage
    26:06 - Functions and arrow functions explained with examples.
    30:02 - Learning to count vowels and comparing individual characters in JavaScript with for loops
    32:10 - Creating and using JavaScript functions and methods with extensions
    36:09 - Functions and methods in JavaScript
    38:08 - Functions in JavaScript can pass another function as an argument.
    41:51 - Higher order functions in JavaScript.
    43:44 - Using forEach loop to print squares of each value in an array
    47:23 - Using map function to perform operations on arrays
    49:13 - Using map and filter methods in JavaScript for array manipulation.
    52:49 - The reduce method in JavaScript condenses an array into a single value after performing operations.
    54:33 - Using array reduce for adding values and generating results
    58:12 - Using the reduce method to find the largest element in an array
    59:57 - Using the reduce method to find the largest number in an array.
    1:04:01 - Using the reduce method to calculate the sum and product of numbers in the array
    1:06:04 - Factorial calculation using JavaScript

  • @chaitalikumari3549
    @chaitalikumari3549 Рік тому +1

    thank you mam ...your video is very knowledgable for all coder student ..☺and the best topic in this video is the differences between map , filter and reduce ...and For a long time I was searching for a good explanation on forEach and this lecture is very helpful for me. Thank you once again🙂🙃

  • @overallknowledgeguru
    @overallknowledgeguru 10 місяців тому

    30: 29 IT CAN ALSO BE DONE LIKE THIS :
    function countVowels() {
    const vowels = 'aeiouAEIOU';
    let count = 0;

    const str = prompt("Enter a string:");

    for (let i = 0; i < str.length; i++) {
    if (vowels.includes(str[i])) {
    count++;
    }
    }

    return count;
    }
    // Example usage
    const numVowels = countVowels();
    console.log("Number of vowels:", numVowels);

  • @soniii_1608
    @soniii_1608 7 місяців тому

    okk so this is amazing mko functions ko lekr problem thi but know sure ki mera basic clear hogya h and jb m aaj practice question solve kri thi maine sare question khud s kiye aur answer bhi exact similar th jisee satisfaction miliiii
    thank youu apkii awaj bhaut achi h..

  • @tafizurrahman7342
    @tafizurrahman7342 Рік тому

    This JS is effectively help us😊😊 ,there is no any ad in running the video Thank you so much mam

  • @MMNTECHNOLOGY
    @MMNTECHNOLOGY Рік тому +1

    Thanks for the great content and class for us. Pray for your long life

  • @k2ybhojpuri
    @k2ybhojpuri 7 місяців тому

    Your way of teaching is batter then codewithherry , all doubts are clear

  • @creationofinfinitysasa6648
    @creationofinfinitysasa6648 Місяць тому

    AT 31:10 for that ans of the code we can do like,,,
    function func(){
    let str=prompt("What is the string");
    console.log("The String is "+str);
    for(let i=0;i