JavaScript String Methods | JavaScript Tutorial in Hindi #14

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • Link to the Repl - replit.com/@co...
    Join Replit - join.replit.co...
    Download Notes - www.codewithha...
    Ultimate JS Course Playlist: • JavaScript Tutorials f...
    ►Checkout my English channel here: / @programmingwithharry
    ►Instagram: codewithharry
    python, C, C++, Java, JavaScript and Other Cheetsheets [++]:
    Playlist: • Coding CheatSheets 🧾 b...
    ►Learn in One Video[++]:
    Python[15 Hr] - • Python Tutorial For Be...
    Python Advance[3.5 Hr] - • Python Programming Cou...
    Python[1 Hr] - • Learn Python In Hindi ...
    Python[2 Hr] - • Python Tutorial In Hin...
    Python[15 Min] - • 15 Minute Python Tutor...
    JavaScript[1 Hr] - • JavaScript Tutorial
    C[1.3 Hr]- • C Programming Tutorial...
    php[1 Hr] - • Learn Php In One Video...
    php[2.3 Hr] - • Php Tutorial for Begin...
    php[Project]- • Login And Registration...
    HTML[30 Min] - • HTML 5 Tutorial For Be...
    CSS[8.5 Hr] - • CSS Tutorial In Hindi ...
    CSS[1.4 Hr] - • CSS 3 Tutorial For Beg...
    Wordpress[3.2 Hr] - • How To Make a WordPres...
    Angular[2 Hr] - • Angular Tutorial in Hindi
    Java[2.3 Hr] - • Java tutorial in hindi 🔥
    Web Scraping[1 Hr] - • Web Scraping Tutorial ...
    MongoDB[2 Hr] - • MongoDb Tutorial For B...
    Numpy[1 Hr] - • Numpy Tutorial in Hindi
    Android Dev[12 Hr]- • Android Development Tu...
    Linux[1 Hr] - • Linux Tutorial For Beg...
    JQuery[1.1 Hr] - • jQuery Tutorial For Be...
    Git and GitHub[1.1 Hr] - • Git & GitHub Tutorial ...
    ►Complete course [playlist]:
    React - • React Js Tutorials in ...
    Python- • Python Tutorials For A...
    OOP Python- • Object Oriented Progra...
    Java - • Java Tutorials For Beg...
    JavaScript- • JavaScript Tutorials I...
    PHP- • PHP Tutorials in Hindi
    C- • C Language Tutorials I...
    C++- • C++ Tutorials In Hindi
    Git & GitHub- • Git and GitHub Tutoria...
    Android Dev- • Android Development Tu...
    Python GUI- • Python GUI: Tkinter Tu...
    Web Development- • Web Development Tutori...
    Python Django - • Python Django Tutorial...
    Projects Using HTML, CSS & Javascript- • Projects Using HTML, C...
    Data Structure and Algo - • Data Structures and Al...
    Follow Me On Social Media
    ►Website (created using Django Rest & Angular) - www.codewithha...
    ►Facebook - / codewithharry
    ►Instagram - / codewithharry
    Twitter - / codewithharry
    Comment "#HarryBhai" if you read this 😉😉

КОМЕНТАРІ • 1 тис.

  • @CodeWithHarry
    @CodeWithHarry  2 роки тому +40

    On your request, I have revamped the channel membership and added more levels.
    Click the join button to check out more - ua-cam.com/channels/eVMnSShP_Iviwkknt83cww.htmljoin

  • @sounaksaha1455
    @sounaksaha1455 2 роки тому +191

    14:42 important point: Strings are immutable in JavaScript

    • @satyamkarn3277
      @satyamkarn3277 2 роки тому +8

      Strings are immutable in all languages

    • @sounaksaha1455
      @sounaksaha1455 2 роки тому +11

      @@satyamkarn3277 have you used C++

    • @satyamkarn3277
      @satyamkarn3277 2 роки тому +10

      @@sounaksaha1455 Yes I have , My Bad😁😁

    • @enjoy.....1365
      @enjoy.....1365 Рік тому +2

      Java provides both for immutable there we have string and for mutability feature we have stringbuffer.....

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

      @@enjoy.....1365 and stringbuilder as well

  • @adpcool12k
    @adpcool12k Рік тому +14

    let fr = "Aditya"
    let n = fr.length;
    for (let i = 0; i < n; i++){
    console.log(fr[i])
    }

  • @shivtanuray3151
    @shivtanuray3151 Рік тому +21

    QUICK QUIZ
    let name = prompt("Enter Your Name")
    For (i =0; i < name.length; i++) {
    console.log(name[i])
    }
    I HAD USED A PROMPT HERE.
    I HAD FIRST USED A REGULAR STRING. THANKS TO YOU SIR. FOR YOUR EFFORTS WE ARE LEARNING WITH EASE.

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

      It can be done using for-of loop

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

      why you used name [i] there?

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

      ​@@VeerSodhai is refered to index , i just incresed and name[1] , name[2], name[3] and so on , and prints the character at that index

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

      No it can't print character ..it print index only
      😊

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

      Thanks dude i just gotta trouble there you helped me.❤😅

  • @CodeWithHarry
    @CodeWithHarry  Рік тому +15

    Code Backup Repository: github.com/CodeWithHarry/ultimate-js-course-youtube

  • @Melorange
    @Melorange Рік тому +69

    I completed the quiz, after pausing the video as soon as you told it was a quiz and started doing it, and I got the answer. The code goes as follows:-
    let name = "John"
    for(let i=0; I

    • @mr.innovation2693
      @mr.innovation2693 Рік тому +4

      kiska code copy kiya

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

      @@mr.innovation2693 lol

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

      Also you can do this
      for(let i=0;i

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

      @@z1008z this is more time complexed code

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

      @@Melorange is just another method of doing that!

  • @anti-bug
    @anti-bug 2 роки тому +23

    // Quick Quiz - Print a string using for loop 😇
    // Using for loop
    for (let i = 0; i < name.length; i++) {
    console.log(str[i]);
    }
    // Using for-in loop
    for(n in name) {
    console.log(name[n]);
    }
    // Using for-of loop
    for(n of name) {
    console.log(n);
    }

    • @leoalpha8191
      @leoalpha8191 2 роки тому +1

      bro u didn't define name 😂😂

    • @YawmalQiyamah
      @YawmalQiyamah 2 роки тому +1

      Can u tell me plz why use [i]
      In console.log (name[i])

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

      @@YawmalQiyamah i is a help to print a variable because i equal ho chuka hai na name.length

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

      Can we print the name as it is like in one line?

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

    Let st="Zubair";
    For(let k of st){
    Console.log(st)
    }
    Using for loop
    For(let i=0; i

  • @parththakkar6401
    @parththakkar6401 2 роки тому +9

    13:22
    let i;
    let name_un = prompt("Enter your name");
    for(i=0;i

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

      let i;
      let name_un = prompt("Enter your name");
      for(i=0;i

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

      name_un = name_un.concat(name_un[i])

  • @disharoy123
    @disharoy123 2 роки тому +25

    let str="Bidyut"
    console.log( `Normal Output is ${str}` )
    for ( let i=0; i

    • @17fcgo69
      @17fcgo69 2 роки тому +1

      thanks bro❤

    • @YawmalQiyamah
      @YawmalQiyamah 2 роки тому

      Can u tell me plz why use [i]
      In console.log (name[i])

    • @arunkatoch9480
      @arunkatoch9480 2 роки тому

      Mujhe question he smj ne aaya tha pr aapka ans check krke sb smj aagya thanks

    • @Adityasharma-iq9vc
      @Adityasharma-iq9vc 2 роки тому +1

      @@YawmalQiyamah kuch bhi use kar sakta ha

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

      Sir isme i already has been declared bata rha

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

    let n = "Somnath";
    for(let i=0; i

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

    // QuickQuiz: Use a for loop to print a string
    let fr = "Binod"
    for (let i = 0; i

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

    This is an adorable Javascript course. My today's Strings method class was terrific.

  • @yasowantnayak
    @yasowantnayak Рік тому +31

    let name="Yasowant";
    for(i=0;i

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

      You don't need to do 'name.length-1'....it will not print all the letters... instead name.length will b right to use if you want to print all the letters

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

      @@baria8391 do not write

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

      actually his code is right, although he used name.length - 1 but to cover it up he used

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

      @@creativevilla1592 agreed

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

      if you try witing it with document .write it would not work. it will only work with console.log

  • @FyeseAnimation
    @FyeseAnimation 2 роки тому +6

    The Answer of the QuickQuiz is-
    let name = "Harry and Fyese"
    for (let i = 0; i < name.length; i++) {
    console.log(name[i])
    }

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

    let string = 'Chronicles';
    let len = string.length;
    for (let i = 0; i < len; i++) {
    console.log(string[i]);
    }

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

      naughty hora ke

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

    Use a for loop to print a string
    let name = "Programmer"
    for(let i=0; i

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

      instead of i

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

      Instead of using '10', you should use 'name.length'. Because when you take this name as a user input you will not aware of the length earlier.

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

      Bhai console.log(name[I])
      Ki jagah
      Console.log(name)
      Se bhi kaam ho jayga

  • @sidranadeem4701
    @sidranadeem4701 27 днів тому

    let name= "pushpa" let n = name.lenght for(let i = 0; i

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

    13:28
    let name = "shahab"
    for(let i=0; i

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

    // quick quiz : use a for loop to print a string
    let flower = 'tulip';
    for (i=0; i

    • @KING-if4ch
      @KING-if4ch 11 місяців тому +1

      (i) this will. Print the values of i which is 0,1,2,3...

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

      @@KING-if4ch I added flower[i] which will print a string, along with that (i) will print the values 0,1,2.....and so on

    • @KING-if4ch
      @KING-if4ch 11 місяців тому

      @@learner801 hnn thats ok but question was only gor printing string thats why 😅

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

      @@KING-if4ch yeh ikr, I just printed the values too🙂

  • @yogesh7931
    @yogesh7931 2 роки тому +7

    QUICK QUIZ ANSWER :
    TIMESTAMP : 13:18
    CODE:
    let name = "Harry Bhai";
    // Using Traditional For Loops
    for (let i = 0; i < name.length; i++){
    console.log(name[i]);
    }
    // Using For Of Loops
    for (let char of name){
    console.log(char);
    }
    // Using For In Loops
    for (let key in name){
    console.log(name[key]);
    }
    QUICK POINT FORM VIDEO :
    TIMESTAMP : 14:41
    STRING ARE IMMUTABLE MEANING :
    When every you try to change or update string so its not possible. All the function we use on string will not change the existing string but return a new string.
    EXAMPLE :
    For Example When we apply a **slice** method on string it will not change the existing string but create new string and copy past existing string content to new string and return.

    • @orbitxyz7867
      @orbitxyz7867 2 роки тому

      int name hota hey kya

    • @yogesh7931
      @yogesh7931 2 роки тому

      @@orbitxyz7867 Sorry For That it must be "let".

    • @orbitxyz7867
      @orbitxyz7867 2 роки тому

      @@yogesh7931 yes 😁😁 other program is good

  • @Vikashkumar-iw3bh
    @Vikashkumar-iw3bh 24 дні тому

    // QuickQuiz: Use a for loop to print a string
    let name = "Harry";
    for (i=0; i < name; i++);
    name =name;
    console.log(name)

  • @shauryanevend4252
    @shauryanevend4252 25 днів тому +1

    // QuickQuiz: Use a for loop to print a string
    const prompt=require("prompt-sync")();
    let str = prompt("Enter your name")
    for (i=0; i

    • @mohitverma3113
      @mohitverma3113 24 дні тому

      use this :
      const prompt=require('prompt-sync')({sigint:true});
      let x=prompt("Enter a string - ")
      for(i=0;i

  • @bc-cv4hu
    @bc-cv4hu 2 роки тому +23

    Thank you for this content and please do the complete video series on spring, spring boot, hibernate , JDBC ,java SE8 features , advanced java concepts, with some demo projects .which would be great help sir

    • @amt.7rambo670
      @amt.7rambo670 2 роки тому +1

      bro he said it would be complete

  • @legitincome9382
    @legitincome9382 2 роки тому +4

    #Quick Quizze
    let pr=prompt("Enter your name")
    for(let i=0; i

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

    let na = "Anik Hassan"
    for(let i = 0;i

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

    let name = "Husnam"
    let n = name.length;
    for(let i=0; i

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

    13:32
    let name = "Maaz"
    for (let i = 0 ; i < name.length ; i++)
    {
    console.log(name[i])
    }
    console.log("THIS JS COURSE IS VERY HELPFUL AND ALSO AMAZING FOR BEGINNERS")

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

    Literally i am learning all these things fourth time because i want to be master ultra pro max in Js.
    I already had learnt these things in Python, Java and previous playlist of Js.

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

    // for loop for printing each letter of a name
    let name = prompt("what is your name");
    let n = name.length;
    for (let i = 0 ; i < n ; i++){
    console.log(name[i])
    };

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

    solved the Quick Quiz in 2 ways you taught Harry !
    //# QuickQuiz:
    let friend= "Ashwagandha"
    for (let i of friend){
    console.log(i)
    }
    //also
    let friend2= "whythiskolaveri"
    for (let i=0; i

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

    let n= "sanjay \tsingh"
    let len=(n.length)
    for (let i=0;i

  • @dhruvchauhan29
    @dhruvchauhan29 9 місяців тому +3

    Harry and shivika both are in relationship ❤❤❤

  • @vanshshrivastava2325
    @vanshshrivastava2325 2 роки тому +7

    Quick Quiz
    1.
    let String = "Kaisel", nstring = "";
    for (let i = 0; i != String.length; i++) {
    nstring += String[i];
    } // Using For-Loop
    console.log(nstring);
    2.
    let Monarch = "Ashborn", i = 0, nMonarch = "";
    while (i != Monarch.length) {
    nMonarch += Monarch[i];
    i++;
    } // Using while-Loop
    console.log(nMonarch);

  • @Zulfiqar214
    @Zulfiqar214 13 днів тому +1

    QUICK QUIZ
    let name = "zulfiqar ali";
    for (let i=0; i

  • @dollyboruah4334
    @dollyboruah4334 2 роки тому +2

    Best Coder in the world is Codewithharry

  • @motivational7767
    @motivational7767 2 роки тому +3

    Harry.. God bless you with success 😘

  • @mrinmoyghosh6275
    @mrinmoyghosh6275 2 роки тому +4

    Harry vai Zindabad ✊✊

    • @aaasj5388
      @aaasj5388 2 роки тому

      ua-cam.com/users/shortsGJWciEaulgI

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

    let z = prompt("enter your name")
    let y = prompt("enter how many times do you want to print your name");;
    y = parseInt(y);
    for(i=0;i

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

    //Use a for loop to print the length of a string
    let name="Mubashir";
    for(let i = 0;i< name.length;i++){
    console.log(i+" "+name[i])
    }

  • @adarsh_endeavour
    @adarsh_endeavour 2 роки тому +5

    Streak Going On❤️❤️ Bhiyaa..Covered all 14 lectures

    • @aaasj5388
      @aaasj5388 2 роки тому

      ua-cam.com/users/shortsGJWciEaulgI

  • @Kya_Sharmaji
    @Kya_Sharmaji 8 місяців тому +37

    Shivika bhabhi 😁😛

  • @user-sh3wz6td2b
    @user-sh3wz6td2b 3 місяці тому

    let name ="jyoti"
    let n=name.length
    for(i=0;i

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

    // for tag to string
    let fr = 'Rohini'
    for (i=0; i

  • @davindersingh-dx8nb
    @davindersingh-dx8nb 2 роки тому +9

    Harry, just do one favour.
    You used to post a zip file which include all the files, making it easier to download all files at once. However, now we need to download each and every file individually, making it a lot harder than before.
    Hence, if possible, all the files of completed chapters must be put in a zip file.
    Hope you don't disappoint many others like me

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

      Harry sir not harry

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

      chapters ke notes download karne mein zor aa rha hai re tereko!! itta bada paragraph likha itne mein to do baar download ho jaaye!

  • @ComputerScienceWithBas
    @ComputerScienceWithBas 2 роки тому +3

    let string = 'Harry'
    for (let i in string) {
    console.log(string[i])
    }
    Sir kya ye method chalega ?

    • @xcr6436
      @xcr6436 2 роки тому

      Yeah bro its working

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

    let name = "Happy"
    let n = (name.length)
    for(let i =0;i

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

    // to print the str with the help of for loop.
    let k="viratkohli";
    console.log(k.length)
    for(let i=0; i

  • @pathanplays4567
    @pathanplays4567 2 роки тому +4

    Everythings perfect but there is one thing that i think u should do give us homeworks......the practice set is like exercises that we do....but homework would be our work only and their solution should be revealed after 2-3 vids...hope u will do this....love from Pak ❤️

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

    Harry ❤️ shivika,😀

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

    let a = 'talha';
    for (let i=0; i

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

    // QUICK QUIZ
    let n =prompt("enter the value of n")
    for(i=0;i

  • @Divyanshu.Sharan
    @Divyanshu.Sharan 2 роки тому +6

    Waiting for my 12th over😂, I have to learn Java and Java script 😁
    Completed HTML and CSS and now Very exited for Java script

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

    let st=prompt("enter a sentence here");
    let n=st.length;
    for(let i=0 ; i

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

    Wonderful teaching methodology love it. Really Really appreciated not getting bored in a single video. Thank you very much

  • @srijanprivateiti8356
    @srijanprivateiti8356 2 роки тому

    16:40
    let str = "Shivika";
    for (let i = 0; i < str.length; i++) {
    console.log(str[i]);
    }

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

    let str = "Concatenation";
    for(let i = 0; i

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

    @13.30:
    // Use a for loop to print a string
    for(let i = 0; i < fr.length; i++) {
    console.log(fr[i]);
    }

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

    //Quick Quiz
    // Use a for loop to print string
    let str = "Ishtiaq" + "Ahmed"
    let i;
    for(i=0;i

  • @natureanimalhd1274
    @natureanimalhd1274 23 дні тому

    QuickQuiz : let friend = "Rohan"
    for(let i = 0; i < friend.length; i++){
    console.log(friend[i])
    }

  • @priyanirmalpure2125
    @priyanirmalpure2125 2 роки тому +2

    let str='Hello this is a string'
    for (i=0;i

    • @skannu3155
      @skannu3155 2 роки тому

      Console.log(i) i think
      If you need to print every character of the string

    • @priyanirmalpure2125
      @priyanirmalpure2125 2 роки тому

      @@skannu3155 yes but line's of number print ho rhe hai console.log(i) se

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

    13:34
    let mystr=prompt("Enter the string")
    for(let i=0 ; i < mystr.length ; i++)
    {
    console.log(mystr[i]);
    }

  • @AHMED-JMINE
    @AHMED-JMINE Рік тому

    let str = "ORACLE"
    for(let i=0;i

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

    let str = "Shivendra";
    for (let i = 0; i < str.length; i++) {
    console.log(str[i]);
    }
    thank u bro bhut kuch sikhne ko mil rha hai

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

    13:47
    let fr="wasif"
    for(let i=0;i

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

    //use a for loop to print a string
    let str = "This is the string";
    for(let i =0 ; i

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

    // QuickQuiz: Use a for loop to print a string
    let frn = "Shubham"
    for (i=0; i

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

    //printing a sentence using for loop
    let string = "Hello world"
    string = string.replaceAll(" ","")
    for(let i = 0; i

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

    let a = "ashik";
    let b = "borsha";
    let c = (a+b);
    for(let i = 0; i

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

    let str = "Shahzd";
    for (let i = 0; i < str.length; i++) {
    console.log(str[i]);
    }

  • @user-lj9jx2on6b
    @user-lj9jx2on6b Рік тому +1

    QuickQuiz..........ans)
    let str = "Sandesh";
    for (let i = 0; i

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

    let Profession="Developer";
    // Quick Quiz Solution:
    for (let i = 0; i < Profession.length; i++) {

    console.log(Profession[i]);
    }

  • @Ashishkumar-qs2bg
    @Ashishkumar-qs2bg Рік тому +2

    let i =0;
    let name="Ashish";
    while(i

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

    U r great Cwh. its just a perfect learning

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

    Thanks for this valuable course

  • @madhuryar.p5070
    @madhuryar.p5070 2 роки тому +1

    13:30 name = " Madhurya"
    For(let i = 0; i

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

    13:20 QUICK QUIZ:
    let goat="jon jones";
    for(let i=0;i

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

    let coder = "Shreya";
    for(let i =0;i

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

    let name="Harsh"
    let ans="";
    for(let i=0;i

  • @ashishsonune9014
    @ashishsonune9014 2 роки тому +1

    Let str="Ashish"
    For (let i=0;i

    • @siddhantkumar6801
      @siddhantkumar6801 2 роки тому

      Wrong !! It will only print the length write console.log(str[i])

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

    let name = "Roshan"
    len = name.length
    for (i=0; i

  • @worldofmusic8578
    @worldofmusic8578 2 роки тому +1

    best ever course that i have ever seen on youtube really thanku so much harry bhai

  • @motivational7767
    @motivational7767 2 роки тому +1

    let name = 'Abdul Basit'
    for (let i = 0; i < name.length; i++) {
    const print = name[i];
    console.log(print);

    }

  • @AmirHussain-nm2vj
    @AmirHussain-nm2vj 2 роки тому

    str = "Amir Hussain"
    for(let i=0; i< str.length; i++){
    console.log(str[i])
    }

  • @ahamedmuhsin4107
    @ahamedmuhsin4107 2 роки тому +1

    let str = 'Hello Friends'
    for(let i = 0,i

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

    let name=prompt("Enter any name ")
    for (let a in name) {
    document.write(name[a])
    document.write('')
    }

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

    Sir quick quiz is as follows:
    let name = "Ishaan"
    for(i = 0; i < name.length; i++){
    console.log(name[i])
    }

  • @EthanHunt633
    @EthanHunt633 2 роки тому

    // program to print a string.
    let s= prompt("Enter a string:")
    for (let i=0;i

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

    str3 = 'Ashay Gupta'
    for(let i = 0;i

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

    Quick quiz answer:
    let a = "Chaitanya";
    let b = a.length;
    for (i = 0; i < b; i++){
    console.log(a[i]);
    }

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

    Quick Quiz :
    let name = "Bunny";
    1st method
    for(let i = 0; i < name.length;i++){
    console.log(name[Object.keys(name)[i]]);
    }
    2nd method
    for(let i of name){
    console.log(i);
    }

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

    let name = prompt("Enter Your Name")
    for (i =0; i < name.length; i++) {
    console.log(name[i])
    }

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

    let name="keshav";
    for( let i=0 ; i

  • @rabinarayanbasantia8
    @rabinarayanbasantia8 2 роки тому

    13:35 Quick Quiz
    let name="Rabinarayan";
    for (var i = 0; i < name.length; i++) {
    console.log(name[i]);
    }
    console.log(name.concat(name[i]));

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

    This course is very helpful.u r bestest teacher as compared to paid teacher's. I'm really enjoying this course nd its easy to understand as u explain it nicely 👍😊

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

    Quiz Answer =
    let fr = "Shivika"
    for(let i =0 ; i

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

    #quick quiz
    let str="Saagar"
    len=str.length
    for(let i=0;i

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

    let str="shohev"
    for(let i=0;i

  • @SujeetKumar-lz4jg
    @SujeetKumar-lz4jg 5 місяців тому

    let str ="Write any thing";
    for(let i=0;i

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

    13:48 Quiz
    let myString = " Umair Ahmad";
    for (let i = 0; i < myString.length; i++) {
    console.log(myString[i]);
    }