Strings in Javascript | chai aur

  Рет қаралды 230,251

Chai aur Code

Chai aur Code

Күн бұрын

Пікірлер: 294
@chaiaurcode
@chaiaurcode Жыл бұрын
Thoda late night ho gya aaj but important ye ki video aa gyi. Series to complete hoke hi rhegi 😎
@bhaktibhao-
@bhaktibhao- Жыл бұрын
Thank you Sir par mujhe need aa rahi hai ise video ko main subha dekhu ga ❤️
@aniketjha5946
@aniketjha5946 Жыл бұрын
Thank you for your time sir,, 💞
@RohitChhabirajYadav
@RohitChhabirajYadav Жыл бұрын
Thank u sir❤️😻
@RohitChhabirajYadav
@RohitChhabirajYadav Жыл бұрын
Better✨ than paid video..pw😁
@abhisheksubhashram6910
@abhisheksubhashram6910 Жыл бұрын
Thankyou sir 👍
@TechJourneyWithShivam
@TechJourneyWithShivam Жыл бұрын
Sir what kind of teacher u r Aapne JS itne ache se padhaya h ki mere class me jinko JS me koi doubt hota h wo mujhse puchte h All credit goes to u sir I just love ur teaching style U r my role model sir
@honblegaurav9917
@honblegaurav9917 3 ай бұрын
9:21 pe original value change kyu nhi hui hai? new String to ek object hai na? jo ki non primitive data type hai?
@TechieHeish1-bm2nd
@TechieHeish1-bm2nd 3 ай бұрын
@@honblegaurav9917 Firstly it's a primitive data type and when assigned, a copy of the value is created and stored in memory (Stack). and secondly you're changing the copy of that not the original one. For more, watch 10th video of this playlist (previous one) stack and heap memory.
@honblegaurav9917
@honblegaurav9917 3 ай бұрын
@@TechieHeish1-bm2nd when you define using new its a non primitive data type bro. sir didn't tell this. check internet or stack overflow
@Azharuddin-khan
@Azharuddin-khan 3 ай бұрын
@@honblegaurav9917 Exactly my question! why did it not changed? Got it! it is non primitive when define using new String(). String is an object
@ShahbazKhan-ts6wu
@ShahbazKhan-ts6wu Ай бұрын
​@@honblegaurav9917 new String('sahbaz') creates an object, not a primitive string. In JavaScript: When we use new String('sahbaz'), it creates a String object. This is an object wrapper around the primitive string "sahbaz".
@Async_aman
@Async_aman Жыл бұрын
It is a humble request to all of you, don't skip the ad, hitesh sir is doing so much for us, we can at least see the ad of 30 seconds.
@chaiaurcode
@chaiaurcode Жыл бұрын
Don't worry, app sikh rhe, yahi bht h. Bs share krte rho series ko. Best mai bna dunga
@NiteshMaurya1111
@NiteshMaurya1111 10 ай бұрын
​@@chaiaurcodeThank you so much sir for providing this quality content
@Filmy_world_official
@Filmy_world_official 9 ай бұрын
​@@chaiaurcode ma tum aur aik cup chai from Pakistan. hahaha
@kuldeepgogoi9270
@kuldeepgogoi9270 9 ай бұрын
mera toh premium hau yt mai kiya karu bhai 🙂🙂🙂🙂
@JustDoItForNow
@JustDoItForNow 4 ай бұрын
​@@Filmy_world_officialwow
@Sarvesh_Coder
@Sarvesh_Coder Жыл бұрын
I was working on my sideProject meanwhile when i just saw ur video, I paused my work and watched ur video, because I know ur video always add value to me, Thankyou very much sir ji !
@YamrajShrestha
@YamrajShrestha Жыл бұрын
In literal terms, your teaching prowess is nothing short of astounding. Even for someone like me, residing in a remote corner of the world, the wealth of knowledge I can glean from your guidance is boundless.
@Blackfeather7777
@Blackfeather7777 9 ай бұрын
itni angrezi chodke kya sabit karna chahte ho
@priyanshusonii
@priyanshusonii Жыл бұрын
It took me whole 5 minutes to find where are backticks on keyboard 😂😂 Afterall amazing tutorial sir >>
@16_kawaldeep_singh2
@16_kawaldeep_singh2 6 ай бұрын
same brother
@ashutosh6740
@ashutosh6740 3 ай бұрын
Coding tere bass ki nahi hai rahne de
@pranavJha93
@pranavJha93 Ай бұрын
@@ashutosh6740 negative aadmi
@Arshadkhan-dr6bb
@Arshadkhan-dr6bb Жыл бұрын
Simple, straightforward, to the point what a tutorial, these kind of tutorial remain in mind for long time and strengthen basics which is most necessary
@user-ej9ix2kd3u
@user-ej9ix2kd3u 7 күн бұрын
but one thing Hitesh sir, your voice pitch and the way of clearing the little things is amazing ,i'm learning from this platform and addicted as well, not only with JavaScript but with the way you're teaching too ,i hope i will learn a lot from you ,thank you from INDIA(BIHAR ). sonal~~
@babarshabbir2554
@babarshabbir2554 5 ай бұрын
"Master strings in JavaScript with this clear and concise tutorial. Great for beginners!"
@techdo73
@techdo73 Ай бұрын
sir aapka concept or smile unique hai (Tq Sir)
@RagSingh-e2e
@RagSingh-e2e 7 ай бұрын
best Series ALL OVER UNIVERSE, thank you Sir 🙏
@vishnuyadav5545
@vishnuyadav5545 8 ай бұрын
@chaiaurcode Const count = ( apna_naam )=>{ return apna_naam.times() } Count(apna_naam) > Count(dusaro_ka_naam) ? "Hitesh bhai 😂" : "aam janta 😂" ; Thankyou Hitesh bhai for you dedication towards teaching us 😊.
@yogeshkumarpatil591
@yogeshkumarpatil591 10 ай бұрын
Thank you for making such a beautiful javascript tutorial. Because You teach the actual javascript which is necessary for actual production development need. Very Very thank you. I will share your channel as much as possible to everyone. I really like your teaching style and I aslo need that type of javascript teacher. God bless you.
@sharjeelcode3290
@sharjeelcode3290 11 ай бұрын
Sir i watched many of youtube tutorials of JS but you Playlist of Js is the best ever ... thank you soo much sir love from pakistan
@samadsiddiqui5925
@samadsiddiqui5925 Жыл бұрын
Keep going on I love your content. And I highly appreciate your hardwork.
@PriyaSingh-zb5wn
@PriyaSingh-zb5wn 6 ай бұрын
all i can do is thank you for providing these amazing contents💛💛💛
@sidraghafoor-g1n
@sidraghafoor-g1n 8 күн бұрын
hello sir, I am from Pakistan I have no knowledge about coding, but I want to learn, I watch your html playlist, CSS tailwind playlist and now I am watching JavaScript.
@monk.describe
@monk.describe Жыл бұрын
Old way: Let a = name Let b = age let a = prompt("What is your name"); let b = prompt("What is your age"); document.write("My name is " + a + "and i am " + b + "years old") New way: let a = prompt("What is your name"); let b = prompt("What is your age"); document.write(`Hello my name is ${a} and I'm ${b} years old `); We use ` ` to write complete string and will use ${} to inject variables in it.
@shubhamraj5596
@shubhamraj5596 8 ай бұрын
String interpolation
@Ashwanikumar-qr2jj
@Ashwanikumar-qr2jj Жыл бұрын
In JavaScript, you cannot traverse from a higher negative index to a lower negative index using the slice() function or any other standard string method. The slice() function, as well as most other string methods, expects the start index to be less than the end index when using positive indices or zero-based indices. When using negative indices, you can only traverse from left to right (from lower negative index to higher negative index) or from right to left (from lower positive index to higher positive index). You cannot reverse the start and end indices when using negative indices with slice(). const myString = "Hello, World!"; const slicedString = myString.slice(-1, -8); console.log(slicedString); // Output: " " const myString = "Hello, World!"; const slicedString = myString.slice(0, 5); console.log(slicedString); // Output: "Hello" const slicedStringNegative = myString.slice(-6, -1); console.log(slicedStringNegative); // Output: "World"
@daaamn6414
@daaamn6414 2 ай бұрын
Thank you king, for the clarification 🫡🫡
@BitFire007
@BitFire007 7 ай бұрын
"Chai aur Code deserves all the appreciation for making JavaScript accessible and fun!"
@alizaman8407
@alizaman8407 7 ай бұрын
Give me ur num
@meetchanchad129
@meetchanchad129 11 ай бұрын
Sir this javascript course is of higher quality than paid course. Do the same, we will support you.
@mrHock86
@mrHock86 5 ай бұрын
Day 3 continuing. Love you sir ji for this amazing content.
@Intellectualmind4
@Intellectualmind4 Жыл бұрын
I know that you are the best teacher but if you continue like this you will be great teacher 👍👍
@waheedaslam3169
@waheedaslam3169 9 ай бұрын
awesome teaching style and very simple way to teach. thank you very much
@codingnetwork6914
@codingnetwork6914 12 күн бұрын
thankyou sir na aap humko jante na hum apko lakin fir bhi aap hamare lia video bnate iska fal apko zarur milega thankyou once again
@yogeshchauhan9401
@yogeshchauhan9401 8 ай бұрын
Strings are immutable in JS so those methods return a copy of that string after performing operation.
@nehabansal370
@nehabansal370 7 ай бұрын
Best Practice: Use String Interpolation for concatenating. let rating = 'one' `Chai aur code is number ${rating} channel` // Chai aur code is number one channel Video to failega hi sir, this is surely going to be the platform for every developer. Thanks again for such a simplified explanation. really enjoying learning.
@SamarHayatOfficial
@SamarHayatOfficial Жыл бұрын
Sir Chai or NEXT JS start krain na please apka method bhot Acha hai feels like premium course 💙💜
@sameer23377
@sameer23377 Ай бұрын
Thanks for the Video sir .Depth knowledge means Chai aur Code😌
@AnkitKumar-eo1ke
@AnkitKumar-eo1ke Жыл бұрын
I love the way of your teaching sir ❤❤
@content_collage
@content_collage 10 ай бұрын
It seems like sir is standing while recording it . Great Content🙏
@khizerrehman7227
@khizerrehman7227 Жыл бұрын
Ek confusion sir According to the last video strings are primitive so changes will be done in copied value. But when we declare the ' gameName ' variable using the ' new ' keyword, we can consider gameName as an object(Non-primitive). So why it can not change the original string. kindly reply in your free time.
@codelogn
@codelogn Жыл бұрын
Yes, you are correct that strObject is a reference to the String object created using the new String() constructor. However, the reason why the toUpperCase() method doesn't directly affect the primitive String value is because String objects are immutable in JavaScript. This means that once a String object is created, its value cannot be changed. If you try to modify a String object, a new String object with the modified value will be created instead. This is different from primitive String values, which can be modified directly. When you call the toUpperCase() method on a String object, it returns a new String object with all the characters converted to uppercase, rather than modifying the original String object in place. This is why the primitive String value remains unchanged, even though you called the toUpperCase() method on a String object that has the same value.
@pankajpanday6351
@pankajpanday6351 Жыл бұрын
@@codelogn "This is different from primitive String values, which can be modified directly.".....primitive strings are also immutable.
@RitikRaj-wn4ul
@RitikRaj-wn4ul 12 күн бұрын
👍 👍 ​@@codelogn
@mowglivloggers2003
@mowglivloggers2003 10 ай бұрын
original value not changes as toUpperCase is a function which ulitmately falls in the category of heaps
@time7192
@time7192 7 ай бұрын
Your videos are a so lot knowledgeable. Thanks a lot Sir! I'm currently on my journey to learn react which I will start soon after I end this series. Any advice from you or my fellow peers here would be great !
@mdshahjad4342
@mdshahjad4342 29 күн бұрын
hitesh bhaiyya aap chai dikha kr pani pi lete ho lekin hm logo ka dil chai pe atak jata hai .
@sidra7089
@sidra7089 11 ай бұрын
sir please upload more videos , I really enjoying your content, and I have subscribed the channel
@ritushrivatri6865
@ritushrivatri6865 7 ай бұрын
Thank you Sir for this awesome tutorial :)
@technicalanil4397
@technicalanil4397 Жыл бұрын
What a beautiful tutorial! Thank you very much sir for your beautiful effort. thanks again. 🙏🙏🙏🙏🙏🙏🙏
@Evilasdevil
@Evilasdevil Ай бұрын
Awesome 👍
@programmingholic
@programmingholic Жыл бұрын
Strings methods are very important , practiced, Following.
@_Software_developer_
@_Software_developer_ 2 ай бұрын
lov your teaching method
@harenderthakran9142
@harenderthakran9142 6 ай бұрын
Thank you Hitesh for the wonderful content. But i have one doubt, you mentioned that Strings is an object not an array, and the indices we see in the chrome dev tools are key - value pairs. But how is it possible that there are methods such string.charAt( ) which accepts the index number and indexof ( ) method returns the index .. confused
@30sunique78
@30sunique78 Жыл бұрын
Code to yaha hai Par Chai 😂 kaha hai Thanks sir padne mai mja aaya
@imtiaz-kabir
@imtiaz-kabir 4 ай бұрын
Congratulation SIR for #300k subscriber
@iamkmsyed
@iamkmsyed 8 ай бұрын
Sir please explain this topic once more, with more examples
@Sksndhashxjx
@Sksndhashxjx 10 ай бұрын
The question was does the method change the original value of the string ? So the answer is no becasuse the string is a primitive data type so it is stored in stack and it value is copied . So that the reason
@naushadali43
@naushadali43 11 ай бұрын
best javascript video I have ever seen
@SukhmanpreetkaurTathgir
@SukhmanpreetkaurTathgir 29 күн бұрын
sir in replace condition if the string is "sukhmun" and i have to replace the 2nd 'u' with 'a' how we do that
@Pratiksingh77
@Pratiksingh77 8 ай бұрын
Behad Behtareen,
@parmjeetmishra2
@parmjeetmishra2 Жыл бұрын
Thank you so much sir for this wonderful lessons.
@harshkumar7241
@harshkumar7241 Жыл бұрын
sir Good job sir very intersting lecture Thank you so much sir next video i am wating next lecture
@mdtausifahmed6205
@mdtausifahmed6205 Ай бұрын
guys thora confusion hai last video me dheka tha String is primitive type which means stack memory and string (type of) is also string. But here i saw String is object and then in video 9:07 min hitesh says it did not change the original value ? like why if string is object then its non primitive and memory allocation should be done in heap memory which means it will change the value ? can someone please explain ?
@pardeepsingh8669
@pardeepsingh8669 9 ай бұрын
Kindly consider creating a TypeScript series in Hindi as well
@BinaryBelleCoder
@BinaryBelleCoder 2 ай бұрын
typeof gameName is object.if we write gameName=gameName.toUpperCase it should change into string
@faizanarif9799
@faizanarif9799 Жыл бұрын
Hitesh sir on fire 🔥🔥 Back to back videos
@TradingTales
@TradingTales 7 ай бұрын
Sir replace 1 hee jagah ho raha hai like hitesh me h ko z se replace kr rha hu toh first letter replace ho raha ....how to repalce all the alphabet from string? Same problem with indexof ...1st wala letter ka show kr rha
@RahulSharma-wz6yv
@RahulSharma-wz6yv 8 ай бұрын
Okay, I never thought I would have difficulty with "Strings". I already know it, but learning from you gives me peace of mind.
@talhashehzore
@talhashehzore Жыл бұрын
Sir ap mazeed bhi courses ly kar aye apka bhot vip hai hindi main ❤❤❤ main regular follow karta ho
@shresthjain7557
@shresthjain7557 6 ай бұрын
Best playlist ever !
@salmanfisal9446
@salmanfisal9446 7 ай бұрын
3:55 its not string interpolation its know as template literals
@Tempmail-f8c
@Tempmail-f8c Жыл бұрын
sir your making Javascript simple
@anirudhcodes
@anirudhcodes Жыл бұрын
Best video on strings in javascript 😍
@Deepak_upreti_Vlog
@Deepak_upreti_Vlog 5 ай бұрын
very conceptual video sir
@TheAnimeFan1109
@TheAnimeFan1109 Жыл бұрын
Aapka Video dekhne ke liye bhi "Chai" chahiye hi sath me, akele chai pite ho to yaad aa jati hai chai ki☕
@chaiaurcode
@chaiaurcode Жыл бұрын
Chai to zruri h ji
@desijargon7460
@desijargon7460 7 ай бұрын
originial value change nhi hua hai cause wo stack memory mai store hai and usmai ek copy ko pass kiya jata hai direct referen ce ko nahi
@aman-rk5vs
@aman-rk5vs 5 ай бұрын
Fortunate that i am following your tutorial on javascript. I have one doubt how one can understand the concept of toUpperCase without knowing string immutability concept.
@deepaksinsinwar-ff2ed
@deepaksinsinwar-ff2ed Жыл бұрын
thank you bhaiya bohot easily samajh aarha h🙂🙂😇
@justtt.prerna
@justtt.prerna 8 ай бұрын
What's the difference between toLocaleLowerCase() and toLowerCase() . Similarly , toLocaleUpperCase() and toUpperCase() ?
@khuzaima._.07
@khuzaima._.07 Ай бұрын
Sir i have question…how can we split a string on the basis of capital letter..e.g, if we have a string “KhuzaimaImran” than how can i split it in Khuzaima, Imran..??
@vishalraut265
@vishalraut265 Жыл бұрын
Very practical, Application oriented simple explanation ,This seems different to me ..I hope you will make more useful videos.. -best wishes and_Thank You.
@VikashSingh-hc6zo
@VikashSingh-hc6zo 11 ай бұрын
truly sir apke lecture enjoyable hote hai time ka pta ni lagta .......thank you sir
@jrahul42
@jrahul42 3 ай бұрын
great video
@pranjalgogoigaming-1209
@pranjalgogoigaming-1209 11 ай бұрын
best string methods video
@Anshuverma4674
@Anshuverma4674 7 ай бұрын
SIR LAJVAAB MAJJA AA GAYA
@MOHAMMEDHANIF-c9i
@MOHAMMEDHANIF-c9i 2 ай бұрын
very nice sir from Bangladesh
@adilaarshad4859
@adilaarshad4859 Жыл бұрын
Thanks for all your efforts🥰
@rajdeepchowdhury6767
@rajdeepchowdhury6767 5 ай бұрын
par glass mai to paani tha chai nahi😂😂.......jk, love u sir
@Veecast247
@Veecast247 Жыл бұрын
Thank you sir for this video it's very helpful for me
@qazimtahir
@qazimtahir 6 ай бұрын
Excellent
@ZoneFact_YT
@ZoneFact_YT 3 ай бұрын
Best playlist ever..... Everyne follow sir Hitesh...This person is incredible and down to earth 🩷
@Hitesh-sirs-admirer
@Hitesh-sirs-admirer 10 ай бұрын
Doubt : when we use new then only primitive data types become objects? idk what to say but this is only creating small confusion
@prajjwallearnings-nz6rg
@prajjwallearnings-nz6rg 10 ай бұрын
Original Value change nhi hogi toUpperCase method me because string is a primitive datatype
@Sahil-qq2se
@Sahil-qq2se 9 ай бұрын
Sir, but the game name is an object and when to apply uppercase method on that it should change the value....
@SwapnilKumbharkar-v4g
@SwapnilKumbharkar-v4g 11 ай бұрын
sir you are great teacher
@Arindam_1729
@Arindam_1729 Жыл бұрын
Thaks sir! Very helpful and informative video
@babarshabbir2554
@babarshabbir2554 5 ай бұрын
"Master JavaScript strings with this clear, concise tutorial! Covers chai assertions with ease."
@Vishalkumar-qh8kg
@Vishalkumar-qh8kg 7 ай бұрын
One thing string is primitive or non primitive type because string is object
@viraljain9197
@viraljain9197 2 ай бұрын
Thank you to Hitesh Sir for making such an awesome video! 🙌🎥 Brushing up on my JS knowledge 🧠
@dpathak15
@dpathak15 9 ай бұрын
Why do we get undefined after declaring a string object?
@tarunpanwar6983
@tarunpanwar6983 Жыл бұрын
Bhai Bhai Bhai ese av tak kisi n nhi padaya even mene bhut javascript k videos dekhe but you are the best.
@pratimagupta8957
@pratimagupta8957 8 ай бұрын
9:23 kyuki yay call by value hai
@Sunshine-Sagar
@Sunshine-Sagar 2 ай бұрын
High Quality Education 😍❤️ I'm getting addicted to your lectures ;
@MS_Raunak
@MS_Raunak 8 ай бұрын
Here is the all important methods of String let s = new String("Chhaya"); // here string s is an object console.log(s.toLowerCase()); // in lowecase console.log(s.toUpperCase()); // in uppercase console.log(s.indexOf('y')); // return index from beginning console.log(s.lastIndexOf('a')); // return index from ending position console.log(s.length); console.log(s.slice(0,4)); //print string from 0th index to 3rd index as ending index is excluded console.log(s.substring(0,4)) // Similar to slice but can't take negative value as an argument console.log(s.charAt(1)); //print char present on given index value console.log(s.includes("Chha")); //If given input present then return true otherwise false console.log(s.includes("shaya")); // return false console.log(s.endsWith("aya")); //return true if string is found from last let url = "www.userid?20.com" console.log(url.replace('20', '-')); //replace 20 with underscore let word = "Chhaya is Shanaya and she is a baby girl"; console.log(word.split(" ")); // return all the words from given string in the form of array let name = "Shanaya" console.log(name.concat(" Gupta")); //return String after appending given string let remSpace = " good bye guys " console.log(remSpace.trim()); // return string after removing unwanted space from beginning and ending but not from mid
@kuntalojha
@kuntalojha 6 ай бұрын
Thank
@samiksha0997
@samiksha0997 Ай бұрын
Thanks
@abdul_rab01
@abdul_rab01 3 ай бұрын
Sir I am facing problem while using 2nd time %20 in string, the first one will only replaces with " - ", the 2nd one will remains same as %20.
@qaiserhameedkhan8147
@qaiserhameedkhan8147 7 ай бұрын
great Content
@ArunKumar-jk4nw
@ArunKumar-jk4nw Жыл бұрын
Hitesh Sir, Aapko Code editer look aswsome, ye kon sa editer?
@TejasD61
@TejasD61 Жыл бұрын
Thank you sir :) please try to upload more videos in less time
@Radha_dass
@Radha_dass 3 ай бұрын
keep up the good work..
@Tech_Life_2.0
@Tech_Life_2.0 Жыл бұрын
Pretty easy way sir
@joybera4466
@joybera4466 4 ай бұрын
vai aap chai bolke pani kiu dikha rha ho..........0:02
Number and Maths in Javascript | chai aur #javascript
23:17
Chai aur Code
Рет қаралды 197 М.
#37 - Most Important String Methods In JavaScript
27:06
Naveen AutomationLabs
Рет қаралды 4,5 М.
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
Date and time in depth in javascript | chair aur #javascript
18:13
Chai aur Code
Рет қаралды 184 М.
JWT авторизация. Основы JWT - механизма.
6:45
Хочу вАйти
Рет қаралды 12 М.
STRINGS || STRING OBJECTS || STRING METHODS IN JAVA SCRIPT
58:20
Sundeep Saradhi Kanthety
Рет қаралды 17 М.
Events in Javascript | chai aur #javascript
36:57
Chai aur Code
Рет қаралды 231 М.
Data types of javascript summary | chai aur #javascript
18:02
Chai aur Code
Рет қаралды 202 М.
How does javascript execute code + call stack | chai aur #javascript
26:12
Array in Javascript | chai aur #javascript
18:55
Chai aur Code
Рет қаралды 233 М.
JavaScript Functions Crash Course
1:36:54
freeCodeCamp.org
Рет қаралды 180 М.