Тёмный

Arrays and Template literals in javascript 

Hitesh Choudhary
Подписаться 955 тыс.
Просмотров 71 тыс.
50% 1

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

 

30 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 164   
@pragun1993
@pragun1993 5 лет назад
Correction: ( ` ) is called backquote or back tick. Tilde is this (~)
@frezerh
@frezerh 5 лет назад
since you asked, let me tell you I AM LOVING THIS SERIES! I am binging this like I am watching a Netflix show! Only difference is that I am actually participating and coding along with you. This is such a dope channel, man! I cannot thank you enough
@anirudhsowrirajan3768
@anirudhsowrirajan3768 4 года назад
the only coding series I am watching for too long!! there are multiple reasons i love your explanation its literally short, the video are short! i want to be a programmer like you!
@satyanarayansahoo7608
@satyanarayansahoo7608 4 года назад
I love the progressive way you teach the programming. Simply awesome. Tons of Thank you for showing the way to love programming.
@mayurtripathi3288
@mayurtripathi3288 6 лет назад
Learning JavaScript has never been so easy...Thanks a ton for this series.
@mandanprasad6526
@mandanprasad6526 6 лет назад
These guys who are who are learning from this channel without stopping are the great programmers of future😃
@yogeshmore9084
@yogeshmore9084 3 года назад
i m enjoying sir this sessions bcz i learnt javascript but i dint get things properly but here i m getting all things ,i love it sir thank you
@nawafXjohn
@nawafXjohn 2 года назад
7:00 If my professor explained this concept to me the same way you did, my life would've been a lot less stressful. Thank you for your great style of teaching
@shubhashishroy669
@shubhashishroy669 5 лет назад
best explanation of arrays for far as i know and the arrays length functions was really the best explanation.
@rahullokhande5759
@rahullokhande5759 5 лет назад
wow.....it just blows my mind! I am a UX designer was thinking to learn front end like react but was not sure if I can code. But after watching this base of react, I think I might just be a UX unicorn! tysm!
@architshukla1008
@architshukla1008 6 лет назад
I am loving this wonderful series a lot..I am following this on a regular basis from the date i have started watching this.
@princekumarmehta8788
@princekumarmehta8788 5 лет назад
Absolutely loving.. these series....... Thank you so much..... 😊 I would like to learn more from this....
@harshitmathur5293
@harshitmathur5293 4 года назад
Man seriously speaking your series are too awesome!!! it helps me out to learn a lot about js
@KuldeepSolankiYT
@KuldeepSolankiYT 6 лет назад
if (newVideos == consistent){ learnJavaScriptFast = true; console.log("Thanks Hitesh!"); }
@cacurazi
@cacurazi 5 лет назад
This code doesn't work. It gives me an error. It also doesn't follow best practices of defining your variables. My version is this: let newVideos = true; let consistent = true; if (newVideos && consistent){ console.log("Thank you very much Hitesh!"); }
@Abhi-ow6xe
@Abhi-ow6xe 5 лет назад
@@cacurazi it works
@hemantsukhija71
@hemantsukhija71 6 лет назад
The examples you give are just fabulous!!
@reperxdzns5711
@reperxdzns5711 3 года назад
Thanks Sir, For this amazing playlist full of informative videos..... Tons of Thanks From Me
@rb4754
@rb4754 5 лет назад
like this series a lot. learning JS with this series. Thanks Hitesh.
@mikelarrivee5115
@mikelarrivee5115 4 года назад
I am indeed loving the series
@calvinebun-amu5397
@calvinebun-amu5397 4 года назад
I am loving the series.
@vinaymanikant9710
@vinaymanikant9710 6 лет назад
Please upload the total course along with challenging projects for us.....really loving the work which you are doing for people like us.........
@priyankasamant5733
@priyankasamant5733 4 года назад
it's very helpful stuff..best thing that no add in between..big thanks
@samarbeersingh8378
@samarbeersingh8378 4 года назад
console.log(I AM LOVING IT)
@mikuculus3720
@mikuculus3720 4 года назад
That wouldn’t print. You forgot the quotes. console.log(“I AM LOVING IT”);
@rajatnagpure7445
@rajatnagpure7445 4 года назад
Error!
@samarbeersingh8378
@samarbeersingh8378 4 года назад
@@mikuculus3720 thanks to inform i really not thinked about that
@samarbeersingh8378
@samarbeersingh8378 4 года назад
@@rajatnagpure7445 thx to inform
@padmapriyas7684
@padmapriyas7684 6 лет назад
I am loving this series very much
@danishjamal104
@danishjamal104 6 лет назад
yeah one more vedio... learning was never excited like this....😃
@saifullahrahman
@saifullahrahman 5 лет назад
true
@karthikgajula2486
@karthikgajula2486 4 года назад
Going through this JS series for getting ready for your MERN course
@Rishabhgupta-cz7ym
@Rishabhgupta-cz7ym 6 лет назад
this (``) backticks are something intresting that you tell ,i did't know about this, really cool
@voidvision1549
@voidvision1549 4 года назад
Sir this is very helpful .. Thanks alot..!!
@saadfurqhan6449
@saadfurqhan6449 6 лет назад
Thanks for making my study holidays useful and learnable
@SwadeshiBakchod
@SwadeshiBakchod 6 лет назад
with the coming of es6 now functions can be defined in 3 ways:- PLAIN OLD FUNCTIONS: function doraTheExplorer ( param ) {} ANONYMOUS FUNCTIONS ASSIGNED TO A VARIABLE: var theMonkey = function ( param ) {} AND AT LAST, THE ES6 ARROW FUNCTIONS : const duck = ( param ) => {} EDIT: USE const WHEN DEFINING AN ANONYMOUS/ARROW FUNCTION, ITS BETTER THAN VAR, BUT IT IS BLOCK SCOPED const doraTheFuckingExplorer = ( param ) => {}
@hackx_hive8221
@hackx_hive8221 6 лет назад
Days now have only THREE thinngs... 1.learning... 2. Learning... && 3. LEARNING... Coz... Of you.... thankYou_Sir...:P
@ankitgogawat4569
@ankitgogawat4569 4 года назад
Thanku for such a nice and easy approach videso sir
@wilsonkunadi2878
@wilsonkunadi2878 6 лет назад
Hi hitesh, thx for the tips with the " ` ", i usually use the "," (comma) to combine string and variable. i hope u continue this series, because i really love it. keep up the good work sir. thank you :)
@a7ankitt
@a7ankitt 5 лет назад
@Hitesh I am coming to Jaipur next week, I will definitely come to see you :) You are Great, I really proud of you !
@ruhankhandaker5198
@ruhankhandaker5198 6 лет назад
extremely loving this series.
@SaratKumar-qk7lu
@SaratKumar-qk7lu 5 лет назад
It's good to find your RU-vid channel. I got something new 👍👍
@jasleenkaur4682
@jasleenkaur4682 4 года назад
const arr = ['a','b','c','d'] console.log([arr.length]) output: [4] on the browser console it's properties shown like this [4] 0: 4 length: 1 This means at the first index we have value '4', why so? Thanks
@nilamrakholiya5650
@nilamrakholiya5650 2 года назад
Yes definitely its wonderfull series.
@codingwithsam9194
@codingwithsam9194 6 лет назад
really the best js course on youtube
@saishree1000
@saishree1000 5 лет назад
hi hit, you coding skills very powerful hit for us. why we use const variable in arrays?
@zafarhussain8273
@zafarhussain8273 4 года назад
we always love your video
@garizaldyalfaro8556
@garizaldyalfaro8556 6 лет назад
Thank you for the knowledge Sir Hitesh
@tobiasisnan3625
@tobiasisnan3625 4 года назад
The "We have Thor super heroes" was such a beautiful coincidence
@aveekdey9526
@aveekdey9526 6 лет назад
Great tutorial and simplistic form of learning 👍
@godscode
@godscode 5 лет назад
Sir I tried that ${} to write the js code inside using vscode but it is taking it a string ie when I write ${superheroes.length} it is not displaying the length of the array instead it is printed as it is, in command prompt. What should I do?
@shivasrivastava89
@shivasrivastava89 6 лет назад
Please suggest some book for JS?!!
@sumitshinde5653
@sumitshinde5653 5 лет назад
I am using ATOM IDE but I am not able to use ES6 syntaxes, example for console.log('we have ${superHeros.length} superheroes.'); I am getting the result -> we have ${superHeros.length} superheroes. how to fix this? how to make ATOM ES6 friendly
@vishnukr.7820
@vishnukr.7820 5 лет назад
love ur videos, it help me to grab the things faster in an interesting way.
@rangabharath4253
@rangabharath4253 5 лет назад
Awesome. Fun && Interesting. Thank you
@im_sanjay
@im_sanjay 6 лет назад
Love the way you teach ....
@martinarobyculasso6491
@martinarobyculasso6491 4 года назад
Thank you for your videos!
@ozgurdoganoglu9209
@ozgurdoganoglu9209 3 года назад
Hello Hitesh, thanks a lot for video series, i can not use ${} structure. what do you think about reason? version?
@TheNotochord
@TheNotochord 6 лет назад
make videos also on variable hoisting,closures,prototypes
@veerayuvakishore1775
@veerayuvakishore1775 6 лет назад
Really i loved it...
@priyanshvatsal9791
@priyanshvatsal9791 6 лет назад
love with this series sir
@anuragshrivastava2694
@anuragshrivastava2694 5 лет назад
Hello Hitesh Sir, I am a great fan of your teaching coding. This is really an amazing JS series. However, I have a question - WHAT'S THE ADVANTAGE OF DEFINING A CONSTANT ARRAY HERE?
@srikanthracharla420
@srikanthracharla420 4 года назад
const superHeros = ["Iron-Man", "Spider-man", "Super-Man", "srikanth"]; console.log(superHeros); console.log(superHeros[0]); console.log(superHeros[superHeros.length - 1]); console.log(`We have ${superHeros.length} superHeros`);
@nayandas-ld4zp
@nayandas-ld4zp 5 лет назад
I love to learn from you SIR..!
@AmanKumar-vc2hi
@AmanKumar-vc2hi 6 лет назад
yes sir loving this series
@beingabdul2487
@beingabdul2487 5 лет назад
Great work
@jayshah4456
@jayshah4456 4 года назад
I want to start learning node js so this playlist is enough to start node js??
@ashishpanjwani457
@ashishpanjwani457 6 лет назад
amazing videos ..love you always
@shakiratusman8875
@shakiratusman8875 5 лет назад
I am very happy coming across your video, so helpful. I will definitely contact you.
@rajjada9720
@rajjada9720 6 лет назад
Teaching and videos are just amazing. Could you please suggest a book for JS for advanced level?
@nagarajukomuravelly5250
@nagarajukomuravelly5250 5 лет назад
Hi Hitesh, I love the way you teach programming, quick question in this Video on arrays at 09:38 when we "console.log(superHeros[superHeros.length-1])" should return value Sipderman right but in your output why Captain America.
@parasp5565
@parasp5565 5 лет назад
Hey , Given Array := superHeros =["Iron Man","Spider man","Cap America"]: Actually *superHeros.length* function is calculating the length of the given Array which is 3 in this case . Since here we know the fact the counting in the array starts from 0 . So, In order to access last element of the array we need to use superHeros.length function and subtract 1 from it . Thats why ,Output should be Cap America!!
@nujhatzabin8937
@nujhatzabin8937 5 лет назад
One more style : console.log( 'We have '+superheroes.length+' Super heroes')
@VishalSharma-rn7mt
@VishalSharma-rn7mt 4 года назад
Great video
@johng5295
@johng5295 5 лет назад
Thanks in a million.
@aritratalapatra8452
@aritratalapatra8452 5 лет назад
can I simply write: console.log("we have "+superHeros.length+" super heros"); instead of console.log(`we have ${superHeros.length}super heros`); ?? a positive reply would be appriciated
@umairali2360
@umairali2360 4 года назад
very informative
@saikatdatta94
@saikatdatta94 6 лет назад
Excited as never before
@prakashckbg
@prakashckbg 5 лет назад
Good Videos ,
@Mrkafirr
@Mrkafirr 4 года назад
Thank you so much 😍😍😍
@sophiaaiken1418
@sophiaaiken1418 4 года назад
Can you guys help me to understand what should I learn to enter in IT world?I know HTML and CSS.TIA
@LetsNotBeHasty
@LetsNotBeHasty 6 лет назад
Use backticks (`) to get the statement after $ sign
@yashshende2786
@yashshende2786 6 лет назад
excited for next video
@niceswar
@niceswar 6 лет назад
Sir , Please make one video of Useful Shortcuts in VSCode so that we can refer it to be able to code faster. Thanks
@prakharagarwal40
@prakharagarwal40 6 лет назад
Nice videos.
@barunvicky1
@barunvicky1 5 лет назад
i am loving it..
@pavantejavydhik7354
@pavantejavydhik7354 6 лет назад
Thank you very much, fun learning
@maratatasan9185
@maratatasan9185 4 года назад
Very Good!
@wgd2441
@wgd2441 5 лет назад
I'm loving it
@Hamza_Hassanain
@Hamza_Hassanain 5 лет назад
can we write console.log("We have" +" "+[superHeroes.length]+" "+"Super Heroes" ) to calculate our superheroes
@zaidsharif2
@zaidsharif2 5 лет назад
Template Literal is a new thing for me. Thanks for the intro of that. I have a question concatenation is also serving the same. Then what's the purpose of introducing Template Literals?
@dheerajmishra8470
@dheerajmishra8470 4 года назад
please make a video on call back functions and async/await
@jayareddy9980
@jayareddy9980 6 лет назад
awesome videos !! it would be really helpful if you do videos on angular too Thank you!!
@egbukwuprince
@egbukwuprince 5 лет назад
You could do without saying someythings are tricky, It creates a mental block for some learners. Feedback
@musasalumu3142
@musasalumu3142 6 лет назад
it is simple and cool
@mizanurrahmankhan692
@mizanurrahmankhan692 6 лет назад
Wow another one. Thanks man
@piyushjiwane4360
@piyushjiwane4360 6 лет назад
is that necessary to define array as constant in java script...???
@atulrawat9617
@atulrawat9617 5 лет назад
I think it is not correct. could u tell me what's I am gona miss there in my code? because when I define it in this way as u told us. but it is not working properly. as u can see screen shot.
@kirtikirti1528
@kirtikirti1528 6 лет назад
hello hitesh..you are doing fab... please make some videos to clear the concept of oops in php.. also PDO in php ..if yo have a time ..thank you so much :D :D :D :)
@swathimanne4860
@swathimanne4860 6 лет назад
Hi Hitesh,thanks a lot for this series.Its been a great learning for me.But I was facing an issue like I was unable to find the length of string using $.Its showing up as a string for me Example:${superheroes.length}
@Christopher-qn6kr
@Christopher-qn6kr 6 лет назад
Same here. my log shows: We have ${superHeroes.length} Super Heroes
@Sandeep_2619
@Sandeep_2619 6 лет назад
i also encounter this problem with my code
@gautamsinha6705
@gautamsinha6705 6 лет назад
swathi manne yeah me 2 same doubt
@gautamsinha6705
@gautamsinha6705 6 лет назад
the same thing is printed there including dollar sign
@saqlainrasheed2268
@saqlainrasheed2268 6 лет назад
i think this happened because you are putting single quote[ ' ' ] instead of backtick [ ` ` ]
@sumitsharma8747
@sumitsharma8747 6 лет назад
Great! I love it..
@krishnakalyan3213
@krishnakalyan3213 6 лет назад
Shocking level=infinity
@yuktakushwaha9175
@yuktakushwaha9175 6 лет назад
could you please explain the scope of functions as well. It confuses me a lot
@HARIKRISHNANSRSRSHD
@HARIKRISHNANSRSRSHD 6 лет назад
Hi Hitesh, I started watching your training videos and it is really useful. I could see when you type just 'log' the whole 'console.log' is coming in VSCODE. Could you share the steps to configure that in VSCODE? Thanks in advance :)
@HiteshCodeLab
@HiteshCodeLab 6 лет назад
Sure, I will make a video on setting VSCode for Web development
@HARIKRISHNANSRSRSHD
@HARIKRISHNANSRSRSHD 6 лет назад
Thanks Hitesh
@yuktakushwaha9175
@yuktakushwaha9175 6 лет назад
press ctrl+spacebar and then simply press Enter
@aakashverma4032
@aakashverma4032 6 лет назад
not able to run bits/stdc++.h in codeblocks and xcode both on mac. Please make a video on it.
@wgalloPT
@wgalloPT 5 лет назад
i need some help and i wonder if you could help me...if you are not too expensive... :) i was your student here in this channel...and thanks to you i am able to do things i dont even understand..funny right? please let me know if you can help. its javascript. im in the middle of a project. thank you
@kchaitanya39
@kchaitanya39 6 лет назад
The best
@sushilknm06
@sushilknm06 5 лет назад
series i good but when i tried to use ${a.length} ,it didn't work
Далее
Introduction to functions in javascript
13:23
Просмотров 86 тыс.
Trello v2 in javascript
11:51
Просмотров 51 тыс.
Когда Долго В Рейсе)))
00:16
Просмотров 147 тыс.
Самое большое защитное стекло
00:43
Methods and this keyword in javascript
13:55
Просмотров 63 тыс.
TypeScript - The Basics
12:01
Просмотров 1,5 млн
Classes and objects in javascript
16:30
Просмотров 82 тыс.
#15 Template Literal in JavaScript
5:06
Просмотров 95 тыс.
JavaScript Event Loop -- Visualized!
29:43
Просмотров 16 тыс.
3 Must know methods for Arrays in javascript
11:16
Просмотров 65 тыс.
Prisma announced a new Database but....
12:11
Просмотров 6 тыс.
Fun assignment to create function in javascript
9:25