Тёмный
No video :(

Array in Javascript | chai aur  

Chai aur Code
Подписаться 399 тыс.
Просмотров 208 тыс.
50% 1

Visit chaicode.com for all related materials, community help, source code etc.
#javascript #hindi
Code yaha milega:
github.com/hit...

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 250   
@mrHock86
@mrHock86 3 месяца назад
COntinuining Day 4. Arrray (25th May). => Array in a non-primitive data types. => It is used to store nultiple items under a single varible. => 18:25 slice() does not manupulate main array. => splice() manupulate original array. THANK YOU SIR JI .
@Daily_life895
@Daily_life895 3 месяца назад
Today is my 5th day.....
@AryanKanojiaOfficial
@AryanKanojiaOfficial 2 месяца назад
Thanks bhai🎉
@photosofmine3443
@photosofmine3443 Месяц назад
SUMMARRY: 1. Array is written in brackets [ ]. 2.Array data type is an object. 3.Array can contain different data types . i.e string,number,boolean,array etc. 4. Array is zero based indexing. It starts with zero. 5. Once changed its original value will also change beacause it is non primitive (refrence) type. ARRAY METHODs : 1.Push = adds value to last of an array. 2. Pop = removes last value of an array. 3. Unshift = adds value at first of an array. 4.Shift = removes first value of an array. 5. Includes = checks true or false. 6. IndexOf = checks the position of value in number form. 7.Join = converts to string. 8. Slice(value to remove from,value remove upto but don't include)= returns new array and original value remains unchanged. Use when you need to extract a portion of an array without modifying it. 9. Splice(value to delete from, number of value to delete) = returns new array with deleted one and original value changed.Use when you need to add, remove, or replace elements within an array.
@vrajverma3907
@vrajverma3907 Год назад
Thank you so much sir, I'm software engineer but I do watching this series just because ur teaching style.
@jyotisaroj7378
@jyotisaroj7378 Год назад
aap kaha job krte h
@ChhoraEngineeringWala
@ChhoraEngineeringWala 5 месяцев назад
Bhai Engineer ho to reference lagwa do yaar😅
@MYMULTIVERSE-lm5fl
@MYMULTIVERSE-lm5fl 9 месяцев назад
actually there is a mistake in splice method....splice not includes last index value but it takes number of values given from starting index.....for ex: arr = [2,3,4,5,6,7,8,9] and then console.log(arr.splice(3,4)); gives 5,6,7,8.....however thank u so much hitesh sir for such valuable series...you are my favourite teacher
@ObserverGuy
@ObserverGuy 7 месяцев назад
right brother, thx for the update
@CodeWithDhruv-sy5bs
@CodeWithDhruv-sy5bs 6 месяцев назад
yes you are right ,the second index is deleteCount(no of elements to be deleted)
@anish8202
@anish8202 10 дней назад
do you meant to write(3,6)?
@TheSilentObserver30
@TheSilentObserver30 8 месяцев назад
Each time I watch your playlist ,I found something unique ,nowhere I found someone using codespaces in teaching .Thanks a lot Sir.
@nidmcreativeart6079
@nidmcreativeart6079 Год назад
Full of contents... Got satisfied from inner heart... Thanku so much sir, for this amazing chai aur javascript series.
@ArslanAhmed
@ArslanAhmed 11 месяцев назад
Thank you so much, sir, for your fantastic explanation of Arrays. Your 18-minute video was extremely insightful, but I must say, I spent about 1 to 1.5 hours practicing along. I also made it a habit to glance at my notes every day. Thanks to your wonderful guidance, I now have a solid grasp of Arrays. I am truly grateful for your efforts. Honestly, your teaching style is so engaging that it sparks my enthusiasm for learning and programming. I have already charted my learning path. Once again, thank you, Sir. Your teaching is truly remarkable and greatly appreciated.
@chaiaurcode
@chaiaurcode 11 месяцев назад
Thanks for kind words. Stay tuned, more videos to come
@nothing-s9u
@nothing-s9u 28 дней назад
Hitesh Sir hazaron Saal Jiyee ap, buhat heavy content ha. Thanks a lot.
@fulltimeentertainment5721
@fulltimeentertainment5721 4 месяца назад
Hitesh bhai aap aik playlist Time aur Space Complexity k analysis pe bhi bnaiye ga please.
@parmjeetmishra2
@parmjeetmishra2 Год назад
It is amazing, I take so many JS courses. But this one give me confidence in JS. Thanks to you
@ahmadaslam6296
@ahmadaslam6296 Месяц назад
i think, this playlist is actually lies among the best playlist in the youtube.
@chetansharma3310
@chetansharma3310 10 месяцев назад
Hello Sir, I am no one to make you correct . But I think Splice( ) method is used to perform insertion, deletion and updation. Eg:- myArr( a, b , c) Here, a = starting index b = number of elements to be deleted c = elements to be deleted. For eg:- const myArr = [ 10, 20, 30, 40, 50]; myArr.splice(1, 3); console.log(myArr); So here, a= 1 and b= 3. So it will start from index 1 and remove 3 elements. So, the output will be [10, 50]. Because it removed the 3 elements from index 1 i.e. [20, 30, 40] Now, In other example, const myArr = [ 10, 20, 30, 40, 50]; myArr.splice(1, 3, 60); console.log(myArr); Here, a= 1 , b= 3 and c= 60 So it will start from index 1 and remove 3 elements and then insert 60 at the place of removed elements. So, the output will be [10, 60, 50]. Because it removed the 3 elements from index 1 i.e. [20, 30, 40] and then inserted 60 at the place of removed elements.. My intention was not to spread any hatred.. I am your fan.. the way you teach us and makes coding this much simple for us is really appreciable.😍❤️ Your explaination is too good.. You are really a Brilliant Teacher.. ❤️❤️🔥
@deepakshrestha2672
@deepakshrestha2672 10 месяцев назад
Yes, thanks for more detail explanation. In addtion, the var "C" you are denoting, i.e. "c = elements to be deleted.', I guess the better definition would be like 'The elements to add to the array' , as the third or onwards parameter are the items to be added to the original array / replace the deleted item. 🙂🙂😊😊
@chetansharma3310
@chetansharma3310 10 месяцев назад
@@deepakshrestha2672 Yes Bro❤️
@noobhacks46
@noobhacks46 10 месяцев назад
yes you are right also in documentation written = Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
@anish8202
@anish8202 10 дней назад
thanks brother , keep this work continue where you can add something more
@aniketjha5946
@aniketjha5946 Год назад
thank you sir I am learning web and from where i have learned they have finished whole js in 3 days 😅 and now i am learning from your videos or previous channel videos. thank you
@anish8202
@anish8202 10 дней назад
same in my college
@tejaswinijadhav184
@tejaswinijadhav184 Год назад
I watched entire english series still I am watching your this series cause I get something new everytime 🥰😇
@indianentertainer9895
@indianentertainer9895 6 месяцев назад
can't we give multiple likes ? bcoz this is indeed great tutorial !! 🔥🔥
@TelnozoDevs
@TelnozoDevs 8 дней назад
Also Splicing with starting index 0 will not consider last index same as slice operation but it will consider last index for any starting index greater than 0. (at 16:46)
@thevsringz
@thevsringz 2 месяца назад
(18:25) **Note** splice() doesn't works like slice(start, end) as it does not have parameters like "start and end" . start : starting index of the elements to be sliced. end : ending index of the elements to be sliced. Syntax of splice():- splice(start, deleteCount) Here, start : starting index from where to slice in array deleteCount : How many Elements you want to delete in the array (count of the elements to be removed) So , slice() and splice() both are also different in working along with Manipulation of Original Array.
@jahangirsabri000
@jahangirsabri000 5 месяцев назад
Love From Pakistan Amazing explanation❤
@mollahasim9987
@mollahasim9987 Год назад
Finally Array ✅♥️, love you guruji ♥️ We always waiting for you video lecture.
@yashrajdandnaik8127
@yashrajdandnaik8127 Год назад
Explanation way is much better , its easy to understand
@manemanoj3068
@manemanoj3068 Год назад
Maza aagaya bhayya . Upload videos regularly...
@chaiaurcode
@chaiaurcode Год назад
Bs hopefully ab software crash nhi hoga to roz hi video upload krenge
@usmanahmad9847
@usmanahmad9847 Год назад
@@chaiaurcode sir plzzz in Particular topic p VVEsy qs de ap taaaki hm practice krskee. leetcode wghera p tough Qs h for us like absolute Beginners.
@avibirla9863
@avibirla9863 Год назад
Amazing maza gaya sir .... This playlist is gonna make us almost interview ready ..thanks a ton hitesh sir 🔥❤️
@BitFire007
@BitFire007 5 месяцев назад
"The way Chai aur Code breaks down complex concepts is nothing short of genius. Thank you!"
@vipin143kumar
@vipin143kumar Год назад
Helli Sir, ur videos hv been incredibly helpful n engaging for me in my learning journey. The way u explain complex topics with clarity n provide valuable insights truly sets your content apart. ur dedication to creating high-quality study materials is evident, n I'm grateful for the effort you put into each video. I've found ur content to be a valuable resource dat has greatly contributed 2 my understanding of the subjects u cover. Thank u for ur hard work n commitment to education. Looking forward to more of ur fantastic content in the future!
@sakshisalunkhe6770
@sakshisalunkhe6770 9 дней назад
I just got to know a new thing, myArray.splice(3,4); it means start splicing myArray at index 3 for the count of 4 elements. It does not means start at 3rd index till 4th. Hope that helps!
@vaibhavsomani1796
@vaibhavsomani1796 7 месяцев назад
17:25 The statement that the last index is also included while using splice is incorrect. Splice has second parameter which mentions delete count - number of elements to be deleted after start. So, A = [1,2,3,4,5] A.splice(2,3) will give output as [1,2]
@rohitenwurd9294
@rohitenwurd9294 6 месяцев назад
thanks, i was confused too
@rahulchaubey7176
@rahulchaubey7176 6 месяцев назад
This js series is very addictive, aapka hindi bahot sahi h, jada sahi se samajh me aa raha h. Thanks Hitesh.
@debarghyadas5519
@debarghyadas5519 5 месяцев назад
Sir you are the motivation of all newbie software developers. Thank you so much sir for this videos.... Take love🥰
@rammeharsingh3690
@rammeharsingh3690 4 месяца назад
Best teacher on RU-vid Unique style Pushpa jaisa
@farzananipa1605
@farzananipa1605 3 месяца назад
Amazing video quality, sound quality, eye soothing background and content is the king. I just love all your videos, you made my developer journey enjoyable.
@shaiksalman6210
@shaiksalman6210 Год назад
Vacation hogaya sir aapka We are waiting for next video in javascript playlist.... 😊
@KrishnaAbhale-cn9qy
@KrishnaAbhale-cn9qy 6 месяцев назад
Thanks sir. Please upload videos of interview questions and related. Please
@oqant0424
@oqant0424 8 месяцев назад
explained in so depth .......Thank u so much sir for such an amazing playlist.💖💖 14/51 done [5.1.24] ✅✅
@ankitafattekhani
@ankitafattekhani 3 месяца назад
i started playlist 2 days ago and i love it and complete it as soon as possible
@sprihaanand4128
@sprihaanand4128 3 месяца назад
splice(0, 3) include indexes 0, 1, 2 (not 3) splice(1,3) include indexes 1, 2, 3 (3 included) 3 is not the end index, it is the number of elements to be deleted after index mentioned as the 1st argument
@bijjubahuguna6114
@bijjubahuguna6114 6 месяцев назад
Sir your teaching style is so good as compares to other teachers.......Love u sir
@dipeshsaw
@dipeshsaw 3 месяца назад
Slice and Splice wala concept kafi mast bataya sir aapne, 21 topo ki salami milni chahiye aapko 😅
@36_be_it_bmusaddiqshaikh65
@36_be_it_bmusaddiqshaikh65 23 дня назад
Hello hitesh sir just want add something in splice that (1,3) is nothing but (start, delete count, element1,etc) after deleting you can also add value or element
@Jyotigupta-vs4mz
@Jyotigupta-vs4mz 3 месяца назад
Congratulations for 300K Hitesh sir :)
@chaiaurcode
@chaiaurcode 3 месяца назад
Thanks 🤗☕️
@user-yz1fw6eg7u
@user-yz1fw6eg7u Год назад
sir apka way of teaching bhot acha h but usse jyda apka smile or expression apke pdhane ko or intresting kr deta h litrally bhiya
@sumirandahal76
@sumirandahal76 6 месяцев назад
Thanks alot sir really enjoyed learning❤
@sam36830
@sam36830 Год назад
🎉Nice Teaching Methodology Sir....a kind request, if you have a time please compose JAVA-SE Tutorial.....😊
@sam36830
@sam36830 Год назад
JAVA In HINDI tutorial Sir 🙏
@mohdibrahim1995
@mohdibrahim1995 11 месяцев назад
I can't thankyou more for explaining Array so easy so well frame, I understand it very well, thankyou so much
@Suman-ze8zz
@Suman-ze8zz 5 месяцев назад
18:02 This minute detailled khnowledge is very rare in YT
@tech_channel110
@tech_channel110 Год назад
Amazing lecture Best man Amazing explanation❤ Big respect
@AyushJain128
@AyushJain128 6 месяцев назад
very good teching experience and way of teaching is really great love this amazing
@radhakantpanda363
@radhakantpanda363 9 месяцев назад
Learning from you makes my concept crystal clear.This is why I love to learn from you sirjiii.
@proton3773
@proton3773 3 месяца назад
Note splice Syntax: splice(start, optional delete count, optional items to add)
@bloggerkaushalkishor
@bloggerkaushalkishor 9 месяцев назад
thanks you so much sir maja agaya apni language me kuchh sikhne me bohot easy hota hain one more time thanks sir
@CodewithBhatti
@CodewithBhatti 3 месяца назад
=> Slice(start index, last index[not included] ) // return specific portion of the array original array don't manipulated remain same basically it creates a shallow copy of original array => Splice (start index, last index [included] ) // removes specific part of from original array and manipulate it
@visheshgupta4990
@visheshgupta4990 Год назад
Thanku so much you explain it very simply Sir ☺️😇
@user-mo1sy5ck7r
@user-mo1sy5ck7r 6 месяцев назад
best Series ALL OVER UNIVERSE, thank you Sir 🙏
@ashishsoni8082
@ashishsoni8082 7 месяцев назад
The two arguments splice takes is starts index and delete count. It's not the range you pass.
@hasnatahmad894
@hasnatahmad894 10 месяцев назад
Great content . I am surprised jaha pr array pr discussion khatam hota ha baki channels pr yaha pr waha se start hota ha . Hats off
@ahadahad8743
@ahadahad8743 3 месяца назад
sir bohat acha bolte hain ap , ap agar movies me kam krein to is se zada hit ho skte hain by the way me pakistan Lahore se hon ak industry me kam krta hon agr ap mere comment ka jwab dein gy to acha lgy ga
@SachinSharma-by7gw
@SachinSharma-by7gw 11 месяцев назад
Thank you sir for better explanation
@universalbeats.....8242
@universalbeats.....8242 5 месяцев назад
Thank you for RU-vid ka Best series
@homennath9085
@homennath9085 10 месяцев назад
Thank you so much sir, very good explancation of arrays and very helpful video,
@tech_channel110
@tech_channel110 Год назад
Best lecture on internet Love from Pakistan
@sdinesh1100
@sdinesh1100 10 месяцев назад
best video of javascript arrays
@VishalKumar-ls2ve
@VishalKumar-ls2ve 5 месяцев назад
Sir, I appreciate the content. However, the main difference between 'slice()' and 'splice()' wasn't entirely clear. In 'slice()', the first argument sets the start index, and the second sets the end index for slicing. In 'splice()', the first argument is the start index for removing/adding elements, and the second specifies the number of elements to remove. Thank you for your explanation.
@ganeshkolte7780
@ganeshkolte7780 3 месяца назад
Thanks for such nice informative series.
@sherijatt3117
@sherijatt3117 2 месяца назад
Hey everyone, a huge shoutout to Hitesh Choudhary💖 for the incredible tutorials on this channel. Subscribe now to show your appreciation and gain access to these priceless resources without spending a dime!
@mathsisfun55
@mathsisfun55 6 месяцев назад
if we declare variable with const that means we cannot change or update value then when we declare a variable like const array1=[1,2,4] .HERE WE CAN CHANGE VALUE IN ARRAY THEN HOW IT IS const
@jrahul42
@jrahul42 Месяц назад
great video
@AdityaRaj-lj5wf
@AdityaRaj-lj5wf 11 месяцев назад
woah didn't know about that splice thingyt NIce! Much Respect for you!
@akroyalmaker
@akroyalmaker 4 месяца назад
Very nice explanation sir ji👌👌
@mahipalsingh-pc4mo
@mahipalsingh-pc4mo 5 месяцев назад
thanks sir nice class
@learner8053
@learner8053 Год назад
Waiting for your video in this channel
@RahulSharma-wz6yv
@RahulSharma-wz6yv 7 месяцев назад
wow Awesome, you covers everything. I love the quality of the content you served, I will keep commenting, I really want your channel growth as it is really helpful for deep understanding. Your content needs lots of patience to learn
@nameisez
@nameisez 6 месяцев назад
can u please explain me the slice and splice part
@yosayaan7013
@yosayaan7013 3 месяца назад
Best course
@nusratlines4947
@nusratlines4947 11 месяцев назад
Chass a gai... really awesome bro.😊
@PranjalChalak
@PranjalChalak 5 месяцев назад
My notes of this video: // Array can be a group of mixed datatypes. It may include number, string or anther array too // It has zero based indexing. // arrays are resizable // the last element is at the value of the array's length property minus 1. // JavaScript array-copy operations create shallow copies. // A shallow copy (original copy) of an object is a copy whose properties share the same references (point to the same underlying values) // A deep copy (duplicate copy) of an object is a copy whose properties do not share the same references // Array is always defined under [] let arr = [1,2,"pranjal",true,5];// is same as let arr_ = new Array(1,2,3,4); // to add elements arr.push(6); console.log(arr); //to delete last value arr.pop(); console.log(arr); // To insert elements at the start. but it is not good as all the elements get shifted increasing the load arr.unshift(10); console.log(arr); // To delete elements at the start arr.shift(); console.log(arr); // Does it include the specified element. Returns boolean console.log(arr.includes(56)); // Index of element that does'nt exist is -1 console.log(arr.indexOf(90)); // Most important interview question: difference betn slice and splice let Myarr = [1,2,3,4,5]; console.log("A ",Myarr);// The original array let slice = Myarr.slice(1,3);// slices out element from 1 to 2 excluding 3 and original array remains same console.log(slice); // After slicing console.log("B ",Myarr); let splice = Myarr.splice(1,3);// splices out elements permanently from 1 to 3 including 3 too and manipulates the original array console.log(splice); // after splicing console.log("C ", Myarr);
@Srijan_IITkharagpur
@Srijan_IITkharagpur 3 месяца назад
Splice ke andr jo dusra no jata hai wo no of elements starting from first input hai
@gauravnath2272
@gauravnath2272 7 месяцев назад
woah! lots of positive vibes.
@patelronak153
@patelronak153 Год назад
Full of Knowledge❤
@chaiaurcode
@chaiaurcode Год назад
Thanks
@akashbhosale3634
@akashbhosale3634 3 месяца назад
best video
@user-hg1rz6qh5b
@user-hg1rz6qh5b 8 месяцев назад
Such a great lecture sir love it
@abheeutekar8139
@abheeutekar8139 11 месяцев назад
love your teaching method sir
@AdnanSami-qf9pg
@AdnanSami-qf9pg 10 месяцев назад
sir class ka end main aik project kariya karin
@Dev-Phantom
@Dev-Phantom 7 месяцев назад
cool
@srijareddy1088
@srijareddy1088 2 месяца назад
Thank you so much
@nigampatel6383
@nigampatel6383 16 дней назад
3:35 wait and read it whole
@nikhatansari3310
@nikhatansari3310 10 месяцев назад
Thank you so much sir 😊
@GrowGeneration-qb6qm
@GrowGeneration-qb6qm 6 месяцев назад
Simple way to teach hard things
@Hafiz_001
@Hafiz_001 7 месяцев назад
Nice Lecture Sir thanks for it
@codewithsehran
@codewithsehran 4 месяца назад
You are alaways smiley ❤
@siyapandey8799
@siyapandey8799 6 месяцев назад
Watching before my interview ❤
@raakshas5547
@raakshas5547 6 месяцев назад
Great Video Hitesh Sir
@Kr_vivek72
@Kr_vivek72 4 месяца назад
thank you sir
@Vivek-Kanpur
@Vivek-Kanpur 8 месяцев назад
Loving All Your Videos
@Opmehta-iw7dz
@Opmehta-iw7dz Год назад
You teaches very well
@ahmadwaheed8003
@ahmadwaheed8003 Год назад
Best explanation. ❤
@skill.spirit
@skill.spirit Год назад
Lovee you sir Amazing teacher
@fulltimeentertainment5721
@fulltimeentertainment5721 4 месяца назад
Shallow copy aur deep copy ki koi real-world example share kr dein please.
@SyedAsif08
@SyedAsif08 8 месяцев назад
lovely explanation
@chaiaurcode
@chaiaurcode 8 месяцев назад
😊☕️
@ByteNinjas69
@ByteNinjas69 11 месяцев назад
Awesome lecture.
@Instrumentation010
@Instrumentation010 9 месяцев назад
Just wonderful
@shubham_srt
@shubham_srt 3 месяца назад
thank you
@iamkmsyed
@iamkmsyed 7 месяцев назад
Great Sir
Далее
Array part 2 in Javascript Hindi | chai aur #javascript
15:42
ЭТО мне КУПИЛИ ПОДПИСЧИКИ 📦
22:33
All 33 JavaScript Array Methods In One Video
51:11
Просмотров 30 тыс.
How to be a 10x Learner
17:41
Просмотров 60 тыс.
Number and Maths in Javascript | chai aur #javascript
23:17
JavaScript Array Mastery: Tips, Tricks & Best Practices
1:02:49
2.5 Years Experienced Best JavaScript Interview
2:03:06
Просмотров 243 тыс.
Bjarne Stroustrup: C++ | Lex Fridman Podcast #48
1:47:13