Array part 2 in Javascript Hindi | chai aur

  Рет қаралды 167,575

Chai aur Code

Chai aur Code

Күн бұрын

Visit chaicode.com for all related materials, community help, source code etc.
#javascript #hindi
Sara code yaha milta h
github.com/hit...
Discord pe yaha paaye jaate h:
hitesh.ai/discord
Instagram pe yaha paaye jaate h:
/ hiteshchoudharyofficial

Пікірлер: 189
@kr_sunny_suman
@kr_sunny_suman 7 ай бұрын
Key Takeaways 1. push() method in array simply add the array as an new single entity in the existing array. 2. concat() method help us achieving a desisered output, like merging the two array, but the problems with concat are, It complicated to concat more then one array simultaneously and also It takes extra space and do the merging operation. 3. Despite push and concat we should use spread operator. 4. Intresting methods, isArray(), from() and of()
@Aniket_0314
@Aniket_0314 Жыл бұрын
I love jb sir modern heroes ki jgh old time k heroes k reference dete . Makes me feel like he's someone very simple and remembers old time and cherishes it . Although loving the playlist , thanks for the efforts sir
@AmitPandey_10
@AmitPandey_10 Жыл бұрын
we can merge multiple arrays using concat as well like spread syntax.. const Array1 = [1,2,3,4,5]; const Array2 = [5,6,7,8,9,10]; const Array3 = [0,0,0]; const Array4 = [1,3,9,19]; const concatAll = Array1.concat(Array2, Array3,Array4) console.log(concatAll)
@BOSS55
@BOSS55 Жыл бұрын
thanks bro
@sagarthapliyal828
@sagarthapliyal828 8 ай бұрын
Bhai suno
@Piyush-m7d8t
@Piyush-m7d8t 6 ай бұрын
@@sagarthapliyal828 sunao
@tarunpanwar6983
@tarunpanwar6983 4 ай бұрын
​@@sagarthapliyal828bhai tum garhwali ho na
@sagarthapliyal828
@sagarthapliyal828 4 ай бұрын
​@@tarunpanwar6983 ha bhai
@BitFire007
@BitFire007 7 ай бұрын
"I've tried other tutorials, but Chai aur Code is on another level. The perfect JavaScript mentor!"
@digantadutta2275
@digantadutta2275 9 ай бұрын
Man you speak in a very lovable manner. Huge Respect for that, it takes a lot to teach and then to teach in this way is really very appreciable.
@pradeepucshorts
@pradeepucshorts Жыл бұрын
Finally cylender aa gyi, ab chai garam ho jayegi!
@chaiaurcode
@chaiaurcode Жыл бұрын
Hahaha 🤣
@sainaid
@sainaid 7 ай бұрын
I'm addicted to this series... your way of explaining is simple and crystal clear. ❤
@igurutechs2583
@igurutechs2583 5 ай бұрын
I can relate him as a Web Developer trainer as when at 6:36 he's explaining about Concatenation he's getting unexpected output because sometimes we don't use some methods oftenly so we don't have confidence on it's output and get confused why is that happening, but to keep students motivated and don't let them think Sir ko itna bhi nhi ata we immediately try to show Oh we knew this will occur.. but then we take 1 min break for rechecking and then we debug and explain why that happened 😅😂
@srijan_tripathi
@srijan_tripathi 2 ай бұрын
Damn! So common among all web dev teachers?
@lmao64
@lmao64 21 күн бұрын
Lmao😂
@shobitkhatri9242
@shobitkhatri9242 Жыл бұрын
It was very easy to understand the concept of spread operator with the help of glass break example thank you so much hitesh sir for this mindblowing javascript series
@shadikhusain1216
@shadikhusain1216 Жыл бұрын
Sir really aap jo quality content hume dete hai vo kisi paid courses se behad behtar hai. Region ki aap industry requirment chize bata rahe hai. Aap vo sabb cover kara rahe jiska real mai industry mai use hai aur most of the code use kerte hai everyone project ko build kerne mai. Baaki youtube mentor bahut hai but aap unique person hain +industry expert hai. Ekk beginner wale coder ki jaan hai.❤😂
@Abhishekk-Sharmaa
@Abhishekk-Sharmaa 11 ай бұрын
spread operator har kahi se padhkar dekh liya bahut tough lag raha tha but ab apki videos se ek dum mast samajh mein aaya glass todne ke baad 😁
@tech_channel110
@tech_channel110 11 ай бұрын
very well explained you are tech champion very good and quality content on youtube for free, its a blessing sir thank you for all these quality
@Instrumentation010
@Instrumentation010 10 ай бұрын
Outstanding explanation, just like a wow😂
@shees143.
@shees143. 3 ай бұрын
Your smile so good which give us positive energy 😊
@endgame3842
@endgame3842 Жыл бұрын
Dekh rhaa lagatarr aap bs sir u hi lagerhoo.. love and respect
@RagSingh-e2e
@RagSingh-e2e 7 ай бұрын
best Series ALL OVER UNIVERSE, thank you Sir 🙏
@kripashanker7201
@kripashanker7201 Ай бұрын
hitesh sir thank you for sach a beautiful series
@skill.spirit
@skill.spirit Жыл бұрын
chai or aapke videos , very addictive sir
@chaiaurcode
@chaiaurcode Жыл бұрын
Bs isi baat pe 1 aur video abhi upload krte h
@skill.spirit
@skill.spirit Жыл бұрын
@@chaiaurcode thanks sir😍😍
@game_changer__________
@game_changer__________ Жыл бұрын
sir koi baat nahi doosre kaam bhi dekhna zaroori he, aap bas video banate rahiyega, we are thankful of you
@JeetendraPatel-tu1wo
@JeetendraPatel-tu1wo 2 ай бұрын
If Hitesh sir was my Teacher in my college days then I would crack any job placement just after passing out.❤❤
@ankitsainiofficial777
@ankitsainiofficial777 9 ай бұрын
Outstanding explanation, just like a wow
@harshitsingla1569
@harshitsingla1569 3 ай бұрын
concat method can also combine multiple arrays
@UpendraYadav-tm4ql
@UpendraYadav-tm4ql 9 ай бұрын
sir @chai aur code there is mistake while explaining push and concat concat jo hai wo new array generate karta hai but aap ne jo uppar wala push operation hai usko comment nhi kiya isleye concat ko run karte time same output warna concat aur push differntly work karte hai please check and review this and i love learning here Thank you for such great content
@UpendraYadav-tm4ql
@UpendraYadav-tm4ql 9 ай бұрын
sir apne fix kar diya baad mai 😅😅 maine aage jaa ke dheka
@rutujapatil7435
@rutujapatil7435 6 ай бұрын
Hi, sir, My name is Rutuja, and I enjoy watching your videos. I would like to ask for guidance on how to practice arrays. Could you provide me with some resources for solving questions related to arrays? I am preparing for an interview.
@ruchikarawani
@ruchikarawani 3 ай бұрын
Love the way he teaches
@dnyaneshwarkolhe9959
@dnyaneshwarkolhe9959 3 ай бұрын
Spread operator: My example is tomato bucket, spreading all tomato's on the ground. and rest operator is opposite of it collecting all tomato's on the ground in the bucket. so bucket is array and elements are the tomato's
@Kamlesh_k21
@Kamlesh_k21 3 ай бұрын
at 13:45 how to give key and value? vo to batao.
@braintech8640
@braintech8640 Жыл бұрын
Thanks for this helpful video. love and respect for you🥰
@Levi-iu7hq
@Levi-iu7hq Ай бұрын
Concatenate ... Flat Array.Isarray If not array use Array.from("Hitesh") Array.of(score1, score2, score3)
@shadikhusain1216
@shadikhusain1216 Жыл бұрын
Great sir 👍. But js complete hone ke baad ekk project ko buildup kijiyega sir.🙏 really full confidence tabhi banega.
@chaiaurcode
@chaiaurcode Жыл бұрын
Project to shyad kl hi aa rha h
@malik-pureheart3452
@malik-pureheart3452 7 ай бұрын
How to add breakpoint in developer tool....for e.g. in line 2,5,8,11,12,13,...shortcut key to add these breakpoints??
@codewithsehran
@codewithsehran 5 ай бұрын
The guy disserve more subscriber.
@cyberwarrior1415
@cyberwarrior1415 3 ай бұрын
const someObj = {name: "hitesh"} const objectVar = [someObj] console.log(Array.from(objectVar));
@mdkalam-gx1lc
@mdkalam-gx1lc Жыл бұрын
Thank you so much sir ❤❤❤❤❤❤❤❤❤for this series
@NovaAdarsh
@NovaAdarsh 7 ай бұрын
Auto save on delay on karlo sir Chai pine ka wqt mil jayega!
@trajkumarprajapati
@trajkumarprajapati 8 ай бұрын
Sir ky flat me jo infinity hai usko real me bhi use kr sakte hai ya fir aapne for example bhi bataya hai
@kunalkhare8340
@kunalkhare8340 2 ай бұрын
explaination 🔥🔥🔥🔥
@udaypratap3977
@udaypratap3977 5 ай бұрын
sir if marvel_heros is const then how we are changing the value of const variable by using push method
@mahimasingh7524
@mahimasingh7524 Күн бұрын
Thank you so much sir ❤
@LearnWithManan.110
@LearnWithManan.110 7 ай бұрын
this coures is looking like a WOW🤩
@ayush.tiwarios2105
@ayush.tiwarios2105 3 ай бұрын
00:02 Delays will happen but the JavaScript series will continue. 01:44 Exploring more array methods and accessing prototypes through console inspection. 03:49 Exploring array manipulation and data access in JavaScript 05:48 Understanding the difference between push and concat methods in JavaScript 07:44 Spread operator in JavaScript 09:38 Understanding depth in recursive analysis. 11:54 Converting values to arrays in JavaScript (Hindi) 13:45 Conversion of variables and arrays into arrays in JavaScript.
@fit_gaming662
@fit_gaming662 11 ай бұрын
Paaji kamaal kar ditta 🙇 Inna vadhiya samjhaya hai aapne var i = 0; while (i < 10) { console.log("Gulaabi Dil"); }
@thevsringz
@thevsringz 4 ай бұрын
🤣🤣🤣
@Evilasdevil
@Evilasdevil 7 күн бұрын
Awesome 👍
@shobitkhatri9242
@shobitkhatri9242 9 ай бұрын
const myObject = { a: 1, b: 2, c: 3 }; // Using Object.entries and Array.from const myArray = Array.from(Object.entries(myObject), ([key, value]) => value); console.log(myArray); // [1, 2, 3]
@hamvlogwale
@hamvlogwale 7 ай бұрын
best Playlist for js all time
@himanshu_baghel_07
@himanshu_baghel_07 9 ай бұрын
Thank you sir for this aweome vidoes🙏
@MaheshPAthak-g6n
@MaheshPAthak-g6n Жыл бұрын
Thank your sir for this js playlist ke liye Please React Js ka playlist layiye
@satyajeetarakha7654
@satyajeetarakha7654 Жыл бұрын
Bahot jaldi video aagaya
@chaiaurcode
@chaiaurcode Жыл бұрын
Free content daalne pe b log taane marte h kya? 😂
@vrajverma3907
@vrajverma3907 Жыл бұрын
Not only free, jabardast video and sound quality ke sath free content
@satyajeetarakha7654
@satyajeetarakha7654 Жыл бұрын
@@chaiaurcode Nehi g mai toh soch raha ta aur thoda time lagege. Btw Der Aaye Durust Aaye. Aur ek baat KZbin me free ki content bahot sare hain.
@ravindersahota2237
@ravindersahota2237 Жыл бұрын
Perfect series ❤
@srishtimehta8670
@srishtimehta8670 Жыл бұрын
Javascript padata to har koi hai, but Hitesh sir jaise koi nhi padhata, kahi nahi padhata, or na hi koi padhayega!!
@photosofmine3443
@photosofmine3443 2 ай бұрын
SUMMARRY : 1. Spread operator( ...arrayName) = to create a shallow copy of an array,to join/concatenate arrays,to add elements to an array. 2. .flat(infinity) = to flatten infinity level nested arrays. 3. .from = for converting array-like and objects into arrays. 4. for creating new arrays from a set of values, regardless of how many values are provided or their types.
@OsmanKhatana
@OsmanKhatana 5 ай бұрын
can you please make type script series in Hindi?
@pranjalgogoigaming-1209
@pranjalgogoigaming-1209 11 ай бұрын
GREAT DETAIL TEACHING
@Melodyuniverse-c8c
@Melodyuniverse-c8c 5 ай бұрын
Bro all new hero me ... Three dote ku diye hai isse jada bhi de sakte hai
@thevsringz
@thevsringz 4 ай бұрын
(...) It is the syntax of spread operator. So there can only be three dots as per ES6 in the spread operator. Here Sir used it to copy the elements of dc_heros and marvel_heros into all_new_heros.
@mahdymuzzammil1318
@mahdymuzzammil1318 6 ай бұрын
bhaia ji big fan
@DeveloperArhamAli
@DeveloperArhamAli 4 ай бұрын
nice
@therealpunit
@therealpunit 4 ай бұрын
correction - we can use concat to add as many arrays as we need.
@srijareddy1088
@srijareddy1088 4 ай бұрын
Thank you sir
@NoorKhan-lr2tt
@NoorKhan-lr2tt 4 ай бұрын
THANKS SIR FROM PAKISTAN🇵🇰
@technicalrider6196
@technicalrider6196 Жыл бұрын
Sir pls increase sound of video ,bcz i have full sound still not enough
@ashishkandpalvlogs9702
@ashishkandpalvlogs9702 6 ай бұрын
push and concat both are different
@Veecast247
@Veecast247 Жыл бұрын
Thank your sir for this js playlist ke liye
@zohaiblashari
@zohaiblashari 3 ай бұрын
7:10 bro return a new array mean Let hero = marvelHero.concat(dcHero); console.log(hero); //Output: spider man, thor, Iron ma, Super man,bad man, flash 7:11 I think now I started a KZbin channel 7:12 7:13 7:14 7:15 7:16 7:17 7:18 7:19 7:20
@oqant0424
@oqant0424 9 ай бұрын
Thanks sir 💖 15/51 done [5.1.24] ✅✅
@AnilGupta-nv9lz
@AnilGupta-nv9lz Жыл бұрын
Welcome back sir
@manemanoj3068
@manemanoj3068 Жыл бұрын
Maza aagya bhayya
@the.sirari
@the.sirari 8 ай бұрын
Keep it sir 🔥🔥🔥🔥❤❤
@mohdjunaid4332
@mohdjunaid4332 Жыл бұрын
Sir mai sirf aapki wajah se pwskills join kar rha hu plz aap mujhe assure kar dijiye k aap wahan full course finish karwayenge
@The_Developer_
@The_Developer_ Жыл бұрын
Keep going sir❤
@fatimaiqra2169
@fatimaiqra2169 Ай бұрын
thanks
@aryangaur228
@aryangaur228 Жыл бұрын
Thanks for this amazing video!!
@asharibkamal1
@asharibkamal1 Жыл бұрын
best series
@LearningWithEnjoyment933
@LearningWithEnjoyment933 Жыл бұрын
Sir include and isArray same work karte hai kya ya phir difference hai dono me
@karanmaheshwari9550
@karanmaheshwari9550 Жыл бұрын
Include is use to check the passing element is present in array or not, but isArray is used to check the typeof of element passed is of Array or not.
@firos5381
@firos5381 Жыл бұрын
kya me ek baat puch saktha hu ki iske pehle wale vedios sab dekhe teh par ab ithni vakth bhat phir se shuru kar raha he toh pehlee wala sub consepts yaad nahi raha toh like woh sab phirse dekhna ho ga . mere dimag mei aisa hi hei sir like bhuul jatha hu thodi vakth ke baath agar revise nahi karee toh
@namansharma7328
@namansharma7328 7 ай бұрын
we are declaring the arrays initially as const, then later on we are changing the values in it. how it this possible.
@udaytewary3809
@udaytewary3809 7 ай бұрын
See the data type of array are non primitive it means we will get the reference of the original memory So although they are declare as const "we change the element in the array" i.e arr1[1] = 1 will not give any error But we can't change the array itself that Doing arr1 = arr2 will give error due to const Hope this will.make u understand 😊
@onlineadda4516
@onlineadda4516 3 ай бұрын
08:00= Spread Operator,
@ByteNinjas69
@ByteNinjas69 Жыл бұрын
very helpful.
@AkbarHosen-yy4pf
@AkbarHosen-yy4pf 5 ай бұрын
please replay and check this one.. why typeof show its a object ... insted of array .. check bellow const first = "Rohim" const newArray = Array.from(first); (or const newArray = Array.of(first);) console.log(newArray); console.log(typeof newArray); // its shown object as a type .. but we convert it string to array ??? console.log(typeof first);
@thevsringz
@thevsringz 4 ай бұрын
Dear, Array is not a primitive dataType, it is made with the help of primitive datatypes (Number,String,Boolean etc.) . Therefore Array is considered as Array object of Object datatype. **Note** There are only two types of datatypes in the Javascript i.e. Primitive and Object.
@jrahul42
@jrahul42 3 ай бұрын
nice video
@shubhamraj5596
@shubhamraj5596 8 ай бұрын
धन्यवाद सर
@rajendrakumarsharma674
@rajendrakumarsharma674 27 күн бұрын
Javascript Tutorial ❌ Practical Javascript Tutorial ✔️
@NiteshChaudhary07.
@NiteshChaudhary07. 11 ай бұрын
Hello Hitesh
@iambishwaa
@iambishwaa 4 ай бұрын
done ✅
@LegendXo_OP
@LegendXo_OP Ай бұрын
attendence here!
@jayprakashyadab
@jayprakashyadab 6 ай бұрын
sir ap previous output ko kaisey erase kar dte hai terminal se ???
@SnorkTheDork
@SnorkTheDork 6 ай бұрын
You can use 'cls' to clear the previous output.
@jayprakashyadab
@jayprakashyadab 6 ай бұрын
@@SnorkTheDork cls kaya hai ?? means keyboard mai kaha hai ?
@SnorkTheDork
@SnorkTheDork 6 ай бұрын
@@jayprakashyadab Nahi bhai just terminal mein 'cls' type karo
@malavparekh8187
@malavparekh8187 3 ай бұрын
what is this theme? name?
@beeeeeee42333
@beeeeeee42333 Жыл бұрын
kay matlab chai patti khatam hogyi thi ?
@chaiaurcode
@chaiaurcode Жыл бұрын
Abhi hi just fresh packet laaya hu😂
@NovaAdarsh
@NovaAdarsh 7 ай бұрын
Sir aapko kyo lagta hai hum is video ko share karenge wo bhi apne college groups me Kaun chahta hai uske dost bhi padhe 😂 Or us group me share karne se gaali or pdegi
@Anubhavkumar2103
@Anubhavkumar2103 7 ай бұрын
fact bole bhai😃
@saketjaiswalSJ
@saketjaiswalSJ 7 ай бұрын
god or wott sir
@iamkmsyed
@iamkmsyed 8 ай бұрын
Thanks Sir
@18yashdoke55
@18yashdoke55 9 ай бұрын
const array = [ 1, 2 ,3, 4, 5 ]; const arr1 = array.slice(1-3); console.log(arr1); console.log(array); const arr2 = array.splice(1-3); console.log(arr2) console.log(array); Can this also have any meaning in JS
@MDSoHeL-py2gu
@MDSoHeL-py2gu 9 ай бұрын
no
@sudhanshusharma993
@sudhanshusharma993 8 ай бұрын
@@MDSoHeL-py2gu negative index to the slice() method, it counts from the end of the array backwards. So, if you provide -1, it would refer to the last element, -2 would refer to the second-to-last element, example -> 1 - 3 evaluates to -2, so arr1 = array.slice(-2) would include elements starting from the second-to-last element (4) up to the end of the array (5).
@anirudhnautiyal2336
@anirudhnautiyal2336 9 ай бұрын
Thak you sir❤❤❤
@MH_BEAST_NET
@MH_BEAST_NET 6 ай бұрын
OP
@usama5619
@usama5619 Жыл бұрын
thank you !
@its_mahendra
@its_mahendra Жыл бұрын
@chaiaurcode Facing issue when print the array of flat - "another_array.flat is not a function"
@thevsringz
@thevsringz 4 ай бұрын
you have to use flat() function, you are just using "another_array.flat" where flat is not a function. When you call a funtion it must be written in proper syntax : function_name() example: you have a function named cars, then it must be written like cars().
@pranavh8583
@pranavh8583 Жыл бұрын
concat returns a new array with both array concatinated
@ayushrana3951
@ayushrana3951 11 ай бұрын
Day 12 completed ✅
@See-logic
@See-logic Жыл бұрын
Thanks
@skill.spirit
@skill.spirit Жыл бұрын
const anotherArr = [1,2,3,[4,5,6],7,[6,7 [4,5]]] const real_anotherArr = anotherArr.flat(Infinity) console.log(real_anotherArr); output :- [ 1, 2, 3, 4, 5, 6, 7, 6, undefined ] why my output is coming undefined ?
@Animania2851
@Animania2851 Жыл бұрын
you have to assign " , " after 2nd 7 like this const anotherArr = [1, 2, 3, [4, 5, 6], 7, [6, 7, [4, 5] ] ]
@dipankardas2991
@dipankardas2991 7 ай бұрын
Thanks
Objects in depth in javascript in hindi | chai aur #javascript
18:08
Chai aur Code
Рет қаралды 250 М.
How to be a 10x Learner
17:41
Chai aur Code
Рет қаралды 115 М.
Это было очень близко...
00:10
Аришнев
Рет қаралды 5 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 35 МЛН
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 15 МЛН
map, filter & reduce 🙏 Namaste JavaScript Ep. 19 🔥
37:42
Akshay Saini
Рет қаралды 916 М.
Programming Languages Tier List 2024
16:18
Neal Wang
Рет қаралды 6 М.
Array in Javascript | chai aur #javascript
18:55
Chai aur Code
Рет қаралды 233 М.
Sapne Vs Everyone | New Web Series | EP1 - Sapne Vs Zimmedari
1:05:33
The Viral Fever
Рет қаралды 20 МЛН
How does javascript execute code + call stack | chai aur #javascript
26:12
Functions and parameter in javascript | Hindi
19:14
Chai aur Code
Рет қаралды 220 М.
Object de-structure and JSON API intro | chai aur #javascript
13:33
Chai aur Code
Рет қаралды 174 М.
Это было очень близко...
00:10
Аришнев
Рет қаралды 5 МЛН