High Order Array loops | chai aur

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 268

  • @tarunpal4702
    @tarunpal4702 Рік тому +50

    Best JavaScript tutorial I've ever seen on UA-cam! Basically, I'm a Digital Marketing Executive in an agency, and I want to learn HTML, CSS, and JavaScript, and finally PHP for developing WordPress themes. But I never found a concise tutorial until I came across Chai or Code. Everything has become easy for me now, my HTML and CSS are complete, and currently, I'm learning JavaScript. Thanks to Hitesh sir for providing a JavaScript tutorial that everyone can understand, I think.

  • @BitFire007
    @BitFire007 8 місяців тому +32

    "Chai aur Code, you're the reason I'm making strides in JavaScript. Your tutorials are pure gold!"

  • @Rohitsoni-dv8lw
    @Rohitsoni-dv8lw Рік тому +49

    Summary(As I understood) :
    We can use For of loop for values printing/for iterating over values directly over [[[[ Strings & Array ]]]
    We can use For in loop for values printing/for iterating over values by Indexes/Keys over Objects and Arrays & Strings .
    We Can Use forEach loop For iterating {{Over Arrays}} and its values as well.
    Corrections Are Welcomed.🙃

    • @Abhishekk-Sharmaa
      @Abhishekk-Sharmaa 11 місяців тому +9

      By using For of loop we can iterate maps also

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

    sir aap best ho
    sabhi complex topics to itna simple form me saMJHte h ki sb clear ho jata hai

  • @vidyanshumalik6310
    @vidyanshumalik6310 7 місяців тому +1

    Best Course Ever on JS No one Explain in so much Depth in entire UA-cam Community 🙏😍😇

  • @AhmedRehan01
    @AhmedRehan01 6 місяців тому +2

    Chai aur Code, you're the reason I'm making strides in JavaScript. Your tutorials are pure gold...

  • @krishnavamsi1126
    @krishnavamsi1126 5 місяців тому +4

    i was very confused about higer order loops now i am very clear. Thanks a lot bro

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

    Hello sir ji!!!!! Your JavaScript tutorials are top-notch! Your explanations are clear and easy to follow, and I appreciate how you break down complex concepts. Keep up the great work!!!! And we are waiting for the advanced JavaScript on topics such as Asynchronous JavaScript, AJAX.

  • @Dev-Phantom
    @Dev-Phantom 9 місяців тому +3

    map object was totally new for me, i never used that. vey helpful and conceptual one of the best lecture on youtube.

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

    I never thought I could able to grasp this difficult concepts 😢.. Thank You so Much Hitesh Sir ❤👏🏻

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

    This gold mine of js learning, I don't think there is a better course than this. I was near prototype but there were so many video I didn't watch because thought I know these concepts properly but again it is "chai aur code", I knew I will learn everything in depth and will add another height to my knowledge. Man, every second of this series was important for me. Can't believe, this isn't paid. Complete Gold mine.

  • @dynamicxpathforallautomati6894
    @dynamicxpathforallautomati6894 Рік тому +87

    How are you, Bhaiya? What do you want as a gift for Teacher's Day? In my entire life, I have never imagined that I could love any programming language and JavaScript. Thank you very much for this effort!!!!

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

      Apna haath kaat kr de do 😅

    • @ShubhamYadav-os3ur
      @ShubhamYadav-os3ur 3 місяці тому

      Gifts are not asked u fool ie u r du MB still now

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

    for...in works with objects: It iterates over the enumerable properties (keys) of an object. But it doesn't work directly with Map.
    for...of works with iterables: It works with iterable objects like arrays, Map, Set, etc., to iterate over values. However, plain objects are not iterable directly, so for...of doesn't work with them. To iterate over an object's properties, you would need to use Object.keys(), Object.values(), or Object.entries().

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

    09:34 There is a correction. The correction is that maps in JavaScript are known for unique keys rather than unique values. Each key in a map must be unique, but the values associated with those keys can be same.
    I'm truly enjoying the series; it's incredibly valuable for learning JavaScript. A big thank you to Hitesh Bhaiya for providing such excellent content!

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

    Sir you are doing a great job really helpful for beginners.
    One of the best series on youtube

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

    I've been avoiding learning js for quite some time but your videos helped a lot.

  • @vaibhavilohani3421
    @vaibhavilohani3421 10 місяців тому +2

    Thank you so much for this!!Such a clear and to the point explanation!

  • @AgniveshSingh-u8l
    @AgniveshSingh-u8l Рік тому +2

    best free education platform , thank you sir for helping to understand , tough chapters easily .

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

    One of the best JavaScript tutorial , Thank you so much :)

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

    Best tutorial. Really making us master iterations, arrays, objects, ...
    Thanks a lot sir.

  • @ritushrivatri6865
    @ritushrivatri6865 7 місяців тому +1

    Best JS series!!! Thank you sir :)

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

    Bhaiya u showed my how js is not scary and smtg to be loved by coders .......i have no words to say how priceless this course is .... please continue this efforts for students like us who are scared by these things and start loving them

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

    At last I understood loops and map. Thank you so much. This video is lifesaver....

  • @SyedFazalRahman-g7s
    @SyedFazalRahman-g7s 8 місяців тому

    Such an indepth discussion,
    clearly this channel is UNIQUE

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

    By far the best JavaScript tutorial

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

    Thank U so Much Sir for giving us such high level quality and high level content in depth knowledge with easy to understand Much Love.

  • @a2408__
    @a2408__ 9 місяців тому

    very well explained. Thank you for these quality lectures😄

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

    I've watch lots of JS tutorial but this one is best and unique one

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

    sir this playlist is incredible and very helpful🔥

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

    Best JavaScript tutorial I've ever seen on UA-cam! Basically, I'm a Digital Marketing Executive in an agency, and I want to learn HTML, CSS, and JavaScript, and finally PHP for developing WordPress themes. But I never found a concise tutorial until I came across Chai or Code. Everything has become easy for me now, my HTML and CSS are complete, and currently, I'm learning JavaScript. Thanks to Hitesh sir for providing a JavaScript tutorial that everyone can understand, I thin

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

    kya mast padhate ho sir yaar kasam seh , itna behtareen kabhi kisi neh nahi padhaya

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

    you always explain in very different way that's why I love to watch your videos.

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

    At the end of 2024 it is still amazing and mind relaxing thank you dear

  • @ayush.tiwarios2105
    @ayush.tiwarios2105 3 місяці тому +2

    00:02 This video discusses higher order array loops and off loops in JavaScript.
    01:42 Putting objects inside arrays and accessing values through loops.
    05:19 Introduction to maps in JavaScript
    07:10 Setting values in an object and accessing data from objects
    11:02 Using high order array loops in JavaScript
    13:24 Working with high order array loops for JavaScript
    18:09 Loops in JavaScript arrays
    20:02 Maps cannot be iterated over in a loop like arrays
    23:36 Functions in JavaScript automatically know the scope and parameters
    25:21 Understanding the concept of named and anonymous functions in JavaScript.
    29:21 Understanding high order array loops in JavaScript
    31:29 Accessing values inside objects using array loops

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

    Use for...of with arrays and other iterable objects(strings, maps, sets .etc)
    Use for...in to iterate over keys/properties of plain objects.

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

    The way you are teaching is absolutely amazing and helpful for a beginner as well, love you Hitesh sir💗

  • @M.A.N.S560
    @M.A.N.S560 9 місяців тому

    Thanks a lot Sir you are Awesome i ever seen such a detail playlist in UA-cam. Really thankful for you

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

    19:48 Yes. I guess this should be possible as map is also an object. It works on objects so it should also work on maps too.. 🎉

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

    Apki waja se sir joh javascript ka darr tha seekhne ka woh chala gaya, ab js seekhne mei maza araha hai

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

    Great video sir!, pls keep on posting videos, i have gone through 2-3 tutorials earlier, but this one is definitely the best , unique, and addictive, pls do more videos

  • @vishalraut265
    @vishalraut265 9 місяців тому

    Very impressive tutorials practical oriented very impressive bro and i like ur teaching skills

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

    god level teaching skills 🤯

  • @RahulSharma-wz6yv
    @RahulSharma-wz6yv 8 місяців тому

    apke samjhane se aasaan hua hai sabh, thanks

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

    the background during introduction part..felt like I am watching god in front of me ❤❤

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

    Thank you sir for this series ❤❤❤🎉🎉

  • @bngdtutorial2947
    @bngdtutorial2947 7 місяців тому +2

    for (const [key, value] of Object.entries(obj)) {
    console.log(`${key} => ${value}`);
    }
    for of is also iteratable over object

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

    one of the best in depth explanation .
    expecting the same for react also.

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

    Great great great bhiaya..thankyou for the indepth knowledge..
    😊

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

    FOR in DESCRIPTION => it works for ARRAY and OBJECT but not works on MAP
    FOR of DESCRIPTION => it works for ARRAY and MAP[ key, value] but not works on OBJECT.
    FOR each DESCRIPTION => it works for ARRAY, OBJECT and MAP.
    NOTE: I am also new to JS so the above statements are my own analysis.

  • @VinodKumar-ld7rs
    @VinodKumar-ld7rs Місяць тому

    Unstoppable series 🔥

  • @VarunKumar-n1d
    @VarunKumar-n1d Рік тому

    sir those are really really lucky jisse aapke ye channel suggest kra ho youtube ne

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

    God gifted you too mych explanation talent
    no one can not beat you in this domain

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

    Map is a built-in constructor function in JavaScript

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

    you are the best teacher.

  • @Ayush479
    @Ayush479 4 місяці тому +1

    Please make a series on loopback 🙏

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

    Thank you @Hitesh sir daily video milti hai to ekk confident bana rehta hai.😂❤

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

      Daily mushkil hota h but koshish h ki week me 2-3 videos add kr de

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

      @@chaiaurcode Sir humm smjh sakte hain. but really sir aapki videos dekhne se kabhi booor nahi hote hai.

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

    3:15 In JavaScript's world, arrays and functions are more than meets the eye - they're objects, too!

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

    best ever teacher love u sir g

  • @bablubhaii927
    @bablubhaii927 9 місяців тому

    100 topo ki salami sirji 💯 very very thankyou

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

    sir really loved your content i know ai can replace me but the strong attitude of learning new thing and implementing it neww project will help me to differentiate me from other's

  • @CodeWithAyan78
    @CodeWithAyan78 9 місяців тому

    Map(3) {'IN' => 'India', 'USA' => 'United States of America', 'UAE' => 'United Arab Emirates'}[[Entries]]0: {"IN" => "India"}1: {"USA" => "United States of America"}2: {"UAE" => "United Arab Emirates"}size: 3[[Prototype]]: This answer is coming when I applied forin loop on Map. Can I say it is iterable

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

    Very clear explanation.

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

    Thank you for your continued hard work sir, it really helps me grow as a person and learn more. I am learning more from youtube everyday and I couldn't be more grateful. I wish you eternal success😊

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

      Glad to hear that😊🙏☕️

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

    9:02 Why not Pakistan here is lots of well wishers from pakistan.
    The best teaching method that i had never ever seen on youtube.

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

    Thank you for your continued hard work sir, it really helps me grow as a person and learn more.

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

    Superb explanation sir ❤

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

    best , cant even express , how grateful:)

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

    Amazing lecture sir

  • @jagdambadubey6956
    @jagdambadubey6956 6 місяців тому +1

    great, learning is fun. agar mother tongue me ho to.

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

    Best Explaination!

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

    Great Teacher ❤❤❤

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

    Guys like the video for motivation of sir,he is delivering best content free

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

    Best course,
    Thank you ❤!

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

    awesome explaination sir jee.

  • @Hammad-wp8dm
    @Hammad-wp8dm 3 місяці тому

    Sigma Js Course 😎😎. No one can meet this vibe

  • @Rohitsoni-dv8lw
    @Rohitsoni-dv8lw Рік тому

    Amazingly Explained !!!!

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

    Thank you so much sir dil se❤❤❤❤❤❤

  • @55-rupeshdhange
    @55-rupeshdhange Місяць тому

    Thanks sir for teaching

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

    No, you cannot use a for...in loop with a Map object.

  • @vjshah007
    @vjshah007 5 місяців тому

    here are 3 ways to get object details from its array:-
    const codings = [
    {
    lang:"javascript",
    extension:"js",
    },
    {
    lang:"python",
    extension:"py",
    },
    {
    lang:"java",
    extension:"java",
    }
    ];
    // Method1
    console.log(codings[1].lang);
    console.log(codings[1].extension);
    // Method2
    codings.forEach((item) => {

    console.log(item.lang, item.extension);
    });
    // Method3
    for (let index = 0; index < codings.length; index++) {
    const element1 = codings[index].lang;
    const element2 = codings[index].extension;
    console.log(element1 + " "+ element2);
    }

  • @SINGH-jp6ju
    @SINGH-jp6ju Рік тому +1

    Sir, can you explain what the difference is between a for loop and a while loop, and what the conditions for using each are?

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

    Best JS series by the best Mentor!!!!!!!!

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

    From 57k to ~86k .... Amazing!!!

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

    5:05
    let a= "priyanshu"
    for (let index = 0; index < a.length; index++) {
    const element = a[index];
    console.log(element);

    }
    Sir i have a doubt , we were able to print this string letters seprately by for loop only , then is it necessary to always use for of loop for this purpose ?

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

      because for of loop is much easier to write , you dont have to think logic , provide length and stuff , for basic iteration use forOf , for advace things .... use for loop

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

      for of is a mordern way just like arrow funtions , they have the same use as normal function but their syntax is smaller.... all the new syntax were introduced in es6 version of js

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

      also.. for loop gives you access to index , for of doesent

  • @decoder_pankaj
    @decoder_pankaj 9 місяців тому

    Thank you for this content sir🤩🤩
    #15DaysJavaScriptChallenge

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

    Thank you sir for making awesome videos 😊

  • @PrinceKumar-cv3ji
    @PrinceKumar-cv3ji Місяць тому

    maza aa gaya sir!

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

    Thank you for great series

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

    but Map () is iterable by forOf loop but not by for_In loop what's the reason?

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

    best js series on the Earth

  • @adarshmaddheshiya4413
    @adarshmaddheshiya4413 9 місяців тому

    Best tutorial on Earth

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

    const newObj = {
    name: "Shawab",
    hobby: "cricket"
    };
    for (const [key, value] of Object.entries(newObj)) {
    console.log(key, value);
    }

  • @NoName19777
    @NoName19777 4 місяці тому +1

    pure gold series

  • @VishalSingh-er2bl
    @VishalSingh-er2bl Рік тому

    19:45 i think array of key,value pair for each entry

  • @AliButt-hb3ii
    @AliButt-hb3ii 6 місяців тому

    Sir Agar MAP iteratable nahi hota tu Ap na us koo FOR OF loop ma kasa run kar liya thaa

  • @upsccse9797
    @upsccse9797 9 місяців тому

    thank you sir ji aap na hote toh mai JavaScript nhi sikh pata and Abdul Bari sir ji na hote toh java nhi sikh pata ... if u dont mind sir ek baar meet up ka plan rakhi ye.

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

    Array : (for -in ) yes (for -of ) yes
    Object : (for -in ) yes (for-of) no
    Map : (for-in ) no (for-of ) no
    for in gives indexes

  • @ajitganjave8837
    @ajitganjave8837 18 днів тому

    🎯 Key points for quick navigation:
    00:00 *📚 Introduction to Loop Concepts*
    - The video discusses various types of loops in JavaScript, focusing on basic loops and their syntax.
    - Different types of loops like for loops, while loops, and the significance of choosing the right loop for specific tasks are introduced.
    - Emphasis is placed on practical examples for better understanding.
    - Higher-order functions and their relevance to loops are briefly mentioned.
    00:56 *🔍 Understanding the For-Of Loop*
    - Detailed explanation of the for-of loop and its use in iterating over iterable objects.
    - Demonstrates how to use the for-of loop with arrays and objects.
    - Clarifies the concept of iterators in JavaScript and how they apply to different data structures.
    - Explains the ease of using for-of compared to other loop types.
    04:07 *🔄 Exploring Loops: While and Do-While*
    - The section focuses on using while and do-while loops for iteration, demonstrating basic functionalities.
    - Discusses printing values in a loop, emphasizing that loops can handle different data types, including strings.
    - Examples are provided, such as using greetings in a for-of loop, illustrating practical applications.
    - Offers conditional statements like "continue" and "break" to control loop execution.
    06:15 *🗺️ Introduction to Maps in JavaScript*
    - This part introduces maps as a data type in JavaScript, discussing their unique value storage and iteration.
    - Maps are explained as objects that maintain insertion order and store unique values, contrasting with regular objects.
    - Basic operations on maps are outlined, including setting and retrieving values.
    - Encourages further practice with maps, hinting at more complex examples to be discussed later.
    08:58 *🗃️ Working with Maps: Printing and Unique Values*
    - This section discusses how to print maps in JavaScript and emphasizes their unique value property.
    - Demonstrates how to check if duplicate values can be added to a map, highlighting that maps only store unique entries.
    - Explains how to use a for-of loop to iterate over map values and provides syntax for extracting keys and values separately.
    - Introduces the concept of using square brackets for destructuring values from the map.
    11:33 *🎮 Iterating Over Objects: For-of Loops with Custom Objects*
    - Focuses on using for-of loops to iterate over properties in a custom object.
    - Illustrates how to define a custom object and iterate over its properties using similar syntax as with maps.
    - Points out limitations when trying to directly use for-of on non-iterable objects, emphasizing the need for proper data structures.
    - Encourages experimentation with code execution to understand how different structures behave during iteration.
    14:39 *🔄 Using For-in Loops with Objects*
    - This section explores the use of for-in loops to iterate over properties in JavaScript objects.
    - Discusses the limitations of for-of loops when working with objects and emphasizes the need for for-in loops.
    - Demonstrates how to print values from an object and the syntax for effectively accessing keys and values.
    - Explains how to handle iterations in practical examples, highlighting the differences between objects and arrays.
    17:53 *📋 Differences Between For-in Loops and Arrays*
    - Focuses on the differences between using for-in loops for objects and traditional loops for arrays.
    - Explains that arrays start indexing from zero and are more structured than objects, which can hold any key.
    - Highlights potential errors when using for-in loops on objects, emphasizing the importance of understanding object design.
    - Encourages viewers to test their understanding by considering how these loops function with maps versus objects.
    19:50 *🚫 Limitations of For-in Loops with Maps*
    - Discusses the challenges of applying for-in loops to maps in JavaScript.
    - Demonstrates that attempting to use for-in loops on maps results in errors, illustrating the distinction between iterable structures.
    - Reinforces the idea that while for-in loops are useful for objects, maps require different handling for iteration.
    - Encourages viewers to explore and understand the behavior of various JavaScript data structures through hands-on coding.
    20:04 *📜 Iteration Limitations with Maps*
    - This section discusses the limitations of using loops to iterate over maps in JavaScript.
    - Emphasizes that maps are not iterable with for-in loops and provides insights into proper iteration methods.
    - Encourages viewers to explore documentation for more information on map properties and security.
    - Prepares the audience for upcoming discussions on different loop types applicable to arrays and maps.
    21:32 *🔄 Exploring Loop Types for Arrays*
    - Focuses on various loop types that can be used with arrays and how to implement them in practice.
    - Introduces the concept of higher-order functions and their significance in array manipulation.
    - Mentions the importance of understanding prototype methods available for array iterations.
    - Highlights the ease of using different loops for effective data handling, setting the stage for more complex examples.
    23:30 *🔍 Understanding Callback Functions*
    - This section explains the concept of callback functions and their role in JavaScript iterations.
    - Defines what a callback function is and how it is utilized within higher-order functions.
    - Demonstrates how callback functions operate automatically within loops to process each item efficiently.
    - Discusses the syntax and structure of defining a callback function, emphasizing its importance for dynamic data processing.
    24:53 *🔄 Implementing Callback Functions*
    - This section elaborates on the implementation of callback functions within loops in JavaScript.
    - Explains how a callback function executes for each item passed during iteration.
    - Demonstrates how to define a basic callback function and utilize it to print values.
    - Highlights the flexibility in writing callback functions using different syntax styles, including traditional and arrow functions.
    27:34 *📥 Passing Functions as Parameters*
    - Discusses the capability of passing functions as parameters to other functions for enhanced functionality.
    - Introduces the concept of creating a custom print function that can be used as a callback.
    - Explains the importance of passing a reference to a function rather than executing it immediately.
    - Shows multiple ways to utilize functions within loops, enhancing code efficiency and readability.
    29:01 *🔍 Understanding Parameters in Array Functions*
    - Focuses on the parameters available in array iteration functions and their uses.
    - Clarifies that array iteration functions can access not only the item but also the index and the entire array.
    - Demonstrates how to print the item, its index, and the complete array for better context during iteration.
    - Emphasizes the significance of knowing all available parameters for debugging and interview readiness.
    30:09 *📦 Understanding Objects in Arrays*
    - This section covers the structure and iteration of objects within arrays in JavaScript.
    - Introduces the creation of an array that contains multiple objects with properties.
    - Emphasizes the importance of iterating through these objects to access their properties effectively.
    - Highlights the common use of such structures in database scenarios, where data often arrives in object format.
    31:45 *🔄 Iterating Over Array Objects*
    - Discusses how to implement loops to access object properties within an array.
    - Demonstrates the use of `forEach` with a callback function to iterate over array objects.
    - Shows how to access specific properties of each object during iteration using item indexing.
    - Reinforces the concept that a solid understanding of loops and scope enhances coding confidence and efficiency.
    33:10 *📊 Practical Application of Iteration*
    - Illustrates the practical applications of iterating through array objects, particularly in web development.
    - Describes how to extract and display data, such as product names and prices, in a user interface.
    - Emphasizes that this technique is commonly used in scenarios involving dynamic data from databases.
    - Encourages understanding the basic principles of data handling to simplify complex coding tasks.

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

    explained ekudm in Makhhan style !!!

  • @DhariSingh-w6v
    @DhariSingh-w6v Рік тому

    You are best teacher sir