ES6 Tutorial: Learn Modern JavaScript in 1 Hour

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ต.ค. 2024

ความคิดเห็น • 657

  • @jaimerios1989
    @jaimerios1989 5 ปีที่แล้ว +369

    Thank you so much for this lesson Mosh!
    00:00 - Modern JavaScript Essential
    01:46 - Var, Let, Const
    05:40 - Objects
    08:27 - The this Keyword
    13:57 - Arrow Functions
    18:15 - Arrow Functions and this
    22:32 - Array.map()
    26:10 - Object Destructuring
    32:45 - Classes
    36:32 - Inheritance
    44:50 - Named and Default Exports

  • @pawenobis5386
    @pawenobis5386 6 ปีที่แล้ว +347

    My most valuable 50 minutes in this year!

  • @gilbertrosario8633
    @gilbertrosario8633 6 ปีที่แล้ว +101

    I started learning React a few days ago and thanks to this video I can finally understand concepts like super(props), extends and overall classes, which I've never used in vanilla JS, so it's always been kinda of a scary topic to me until now. Another thing that I was confused about was the this key word in arrow functions, you explained that in such a fine way that I could finally understand what appeared to be a very complex concept. Thank you so much, you are definitely one of the best instructors one can find on the internet. I will closely follow your content, I really like your teaching style.

  • @worldbenefitfestival780
    @worldbenefitfestival780 4 ปีที่แล้ว +17

    The amount of connections I made with this video is unbelievable. I started my web development journey learning react and working from a high-level. After coming across many blockers I decided to learn javascript to hopefully make connections with all the higher level stuff I already knew. 3 months into the slow, grueling process of learning javascript I came across this video and it all finally clicked. I finally connected all the dots. Thank you for providing value to me and, at the time of this posting, 1 million other people. Liking and subscribing is the least I can do to return the value.

  • @ashish2438
    @ashish2438 2 ปีที่แล้ว +45

    I don't usually comment on any video, but this little course here made me do it.
    I knew basic JS only so when I started learning React, things were going over my head just because of not some of the concepts taught in this video, but while watching this video, all those React tutorial videos went through my mind again and I finally understood the concepts I missed. So, A lot of thanks to you

    • @NOTHING-en2ue
      @NOTHING-en2ue ปีที่แล้ว

      @user-ze6uv7qq5d can i ask a question i am searching it for a long time

  • @thang8617
    @thang8617 3 ปีที่แล้ว +30

    1:45 var, let, const
    5:40 Objects
    13:56 Arrow Functions
    26:08 Object Destructuring
    28:40 Spread Operator
    32:43 Classes
    40:35 Modules
    44:49 Named and Default Exports

  • @steffenlaurens8280
    @steffenlaurens8280 6 ปีที่แล้ว +16

    I just started learning React a few weeks ago and this video really explains lots of things that made me wonder before. Thank you so much for making things easier to be processed. 👍

  • @edward-soli
    @edward-soli 7 หลายเดือนก่อน +2

    The ES6 topics that you covered were 90% used everywhere, which makes your video stand out from the rest of the crowd. Thanks for your kind explanation.

  • @rohitrai4215
    @rohitrai4215 5 ปีที่แล้ว +11

    Indeed everything that is required for React is covered in this video. Simply amazing.

  • @ruixue6955
    @ruixue6955 5 ปีที่แล้ว +22

    13:59 Arrow Function
    14:25 same function in ES6 14:30 convert this function to an arrow function
    15:19 the final result, which is the same as the original function
    15:53 real use case of Arrow Function
    18:15 Arrow Function and this
    22:33 Array.map()
    25:00 use *template literal* in es6
    26:10 Object Destructuring
    28:41 Spread Operator
    28:59 combine 2 arrays
    29:19 using spread operator
    29:51 improvement of spread operator
    31:08 use spread operator on an object
    31:58 combine
    32:28 clone an object

  • @jacobkreifels7690
    @jacobkreifels7690 2 ปีที่แล้ว +3

    I love this video. I graduated from my uni feeling like I hadn't learned anything and went through some personal motivation issues. Now I am back trying to relearn in the hopes of finding a job soon and this video is an excellent tool. You're not going over basics as everyone else does and you're instead giving us the modern-day coding practices as well as refreshers on details.
    I appreciate you so much!

  • @exoticcoder5365
    @exoticcoder5365 2 ปีที่แล้ว +4

    18:00 I love how you refactored the code so clearly in front of us which many tutorials didn’t do, Thanks for that clarification 🙏🏻

  • @elzurotsyry
    @elzurotsyry 6 ปีที่แล้ว +13

    Wow you're an amazing teacher. I've been learning React by myself for a couple of months now, and I've used all these concepts, but now I know I didn't really understand them until today, thank you. Now I feel the necessity to go through your whole channel. Thanks again.

    • @prshendra
      @prshendra 6 ปีที่แล้ว

      What reference do you use for learning react?

    • @elzurotsyry
      @elzurotsyry 6 ปีที่แล้ว +1

      I guess a little bit from everywhere, the reactjs official docs are really nice, but I haven't found a best approach than getting my hands dirty. I usually think of something I really want to develop and then I just start working on it, in the process I'll face a lot of doubts and questions, so for every question I'll invest a couple of minutes (or hours depending on how challenging/interesting the topic is). After I'm done with the project my knowledge has increased so then I'll start a new project with all the new knowledge or maybe I'll refactor the same project but with a better architecture or best practices.

  • @artreaktor
    @artreaktor 6 ปีที่แล้ว +13

    Excellent explanation, you're simply a genius teacher! That's how every tutorial should look like!

  • @akissot1402
    @akissot1402 5 ปีที่แล้ว +1

    Highly skilled instructor... they guy u need if u want directions for mcdonalds in a desert island, few words and totally on point , wish we had guys like him in school

  • @fc9gaming458
    @fc9gaming458 4 ปีที่แล้ว +5

    My most valuable 50 minutes in this year! To be honest what a tutorial

  • @sanaliekki
    @sanaliekki ปีที่แล้ว +4

    Being a long-time Java coder and an involuntary JavaScript coder trying to start learning React... This video provided me with just a perfect combination of understanding and learning of new concepts.
    Three thumbs up!

    • @OIOOIOIO
      @OIOOIOIO ปีที่แล้ว

      Good to know, trying to learn React at the moment and it's doing my head in!

  • @maheshhegde7332
    @maheshhegde7332 3 ปีที่แล้ว +17

    Great course for rapid learning and it is very time saving course. He covered so much in less than hour👏👏

  • @jayzdevera7579
    @jayzdevera7579 6 ปีที่แล้ว +10

    This will help beginners from learning React. Every details is explicitly explained and all other concerns. Can't wait for the actual react tutorial. Keep it up!

  • @kevvu_l
    @kevvu_l 6 ปีที่แล้ว +2

    I love you man!! This video was exactly what i was looking for in terms of how ES6 changed some syntax writing and how Export and Import works. Incredible that this is up in youtube for free!

  • @arturluisoliveira
    @arturluisoliveira 5 ปีที่แล้ว +2

    The tutorial is not only useful for React, but also for any developer that know other languages and needs to understand JavaScript. Thanks Mosh!

  • @waleedvirk6259
    @waleedvirk6259 3 ปีที่แล้ว +1

    very specified content, short, to the point, simplified, beautiful and perfect way of teaching. Thanks .. Love from Pakistan

  • @gracewood6768
    @gracewood6768 2 ปีที่แล้ว

    As a dev lead on our company that uses reactjs and nodejs.. having a refresher like this is the best experienc eever. You saved my life! I can now guide better on my dev

  • @triteraerlangga7917
    @triteraerlangga7917 3 ปีที่แล้ว +2

    Thank you Mosh!, I had React course from a random cheap online course that I found on Internet, and they are like "write this line of code and the output would be like this" without any further explanation about what they wrote... I don't say it garbage, it gives me the main idea of how to build a website. And your video just answers all of my questions about what they didn't explain.

  • @Simbatronix
    @Simbatronix 6 ปีที่แล้ว +2

    First time watching your vids and subscribed instantly after a few minutes.I love your teaching style and how you explain concepts in such a human friendly manner.Thank you!

  • @dekafmusic
    @dekafmusic 2 ปีที่แล้ว

    So grateful for this, left code for nearly a year now I came back and I want to go into react for front end dev, just trynna sharpen my JavaScript first before I start that

  • @psuralkar5550
    @psuralkar5550 5 ปีที่แล้ว +2

    You are my "GURU" - Its Indian - "Sanskrit word" that means you are my "teacher" .
    I really love it your teaching technics.
    Thanks a lots for such a great tutorials.

  • @olishiz
    @olishiz 6 ปีที่แล้ว +1

    These tutorials will definitely land me a job. Thank you! Loved it very much.

  • @shahbaz_ali_official4803
    @shahbaz_ali_official4803 6 หลายเดือนก่อน

    You have the most simplest and effective way of teaching soo far on internet

  • @juangoria3517
    @juangoria3517 5 ปีที่แล้ว

    Mosh, you're the best. Thank u, im currently at a job making Angular apps, and I did learn it last year within two weeks thanks to your course, very clean. Thank you again!

  • @feruzcollection
    @feruzcollection 3 ปีที่แล้ว

    You have two profession programmer and teacher. You know your field deeply. bless you !💯

  • @vikaskhandelwal5557
    @vikaskhandelwal5557 3 ปีที่แล้ว +1

    I am not a fan of watching videos for learning, I always prefer text because videos generally waste lot of time but you nailed it though it's a video but it's very precise and to the point. You explained it very well. Thank you so much for creating this.

  • @dibyendusroy
    @dibyendusroy 5 ปีที่แล้ว +1

    Love and respect from India. You made JS so easy. great great explanation sir.

  • @abednegowambua7990
    @abednegowambua7990 4 ปีที่แล้ว

    Wow the explanation in it's course is surreal. I just like the presentation the example and everything involved here in this.

  • @pammugaadu
    @pammugaadu 3 ปีที่แล้ว

    My Most Valuable 1 hour in this 2020.... wonderful lecture... thoroughly enjoyed. Thanks a ton.

  • @catherineauma6766
    @catherineauma6766 2 ปีที่แล้ว

    Perfectly explained! This is practically everything we learn at university....merci beaucoup

  • @objectObject212
    @objectObject212 5 ปีที่แล้ว +1

    Great video, thanks! That is exactly what is needed before starting learning React.

  • @windowli7433
    @windowli7433 2 ปีที่แล้ว

    I am so happy that I saw this course. Thank you very much! Now I finally have a better understanding of a lot of knowledge points, especially about class and object.

  • @ruixue6955
    @ruixue6955 5 ปีที่แล้ว

    32:45 Classes
    36:33 inheritance
    40:37 Modules
    40:50 modularity
    42:03 When working with moduled, the objects we defined in a module are private by default
    42:30 prefix the class with *export*
    42:55 import
    43:31 import from your own module
    44:52 Named and Default Exports
    46:08 default export
    46:18 typically we use *default export* if there is only one single object that we want to export
    46:59 add default keyword
    *47:15** we only use the curly bracket to import the named export*

  • @abdulmalekbahamid450
    @abdulmalekbahamid450 2 ปีที่แล้ว

    you're the best instructor to learn programming.
    Thanks Mr. Mosh.

  • @dragonknight1297
    @dragonknight1297 5 ปีที่แล้ว

    I don't understand much of this, but I understand that this is easy to understand - when Mr. Mosh is teaching it... Very nice job!

  • @darko2636
    @darko2636 6 ปีที่แล้ว +10

    Extremely helpful and very easy to understand / follow. Thank you for these great tutorials 👍

    • @tkssharma
      @tkssharma 4 ปีที่แล้ว

      This is my channel for JS developers
      Full of Training Courses
      To Learn there is a playlist with 100 + videos of Demos
      th-cam.com/video/ZWqfADc-0K8/w-d-xo.html

  • @chriscsmoon
    @chriscsmoon ปีที่แล้ว

    Thank you so much. Now a lot of things are becoming clear. This video saves me from pain and agony. Again, thank you!

  • @madhug82
    @madhug82 3 ปีที่แล้ว +1

    brilliant tutorial. very good coverage and a very good voice modulation. good precurser for React tutorial. Thanks Mosh!!

  • @TheCato3000
    @TheCato3000 4 ปีที่แล้ว

    Yo, Mosh! TY for clearly explaining these concepts. In 50 minutes, I've determined that you've explained this best out of them all...

  • @AnandBodicharla
    @AnandBodicharla 4 ปีที่แล้ว +1

    My most valuable 50 minutes in this year 2020 !!!!!!!

  • @ashnakohli6763
    @ashnakohli6763 3 ปีที่แล้ว

    Grateful to have so rich content available for free, that sorts out our basics so well and help us develop a strong foundation. Thank you Mosh

  • @nijokjose
    @nijokjose 3 ปีที่แล้ว

    A great tutorial and thanks a million. I was praising you all the time during the session for how well the things are explained.

  • @upendraallu503
    @upendraallu503 3 ปีที่แล้ว

    You're awesome. You made it easy and clear.
    Thank you Mosh.

  • @amitKumar_11
    @amitKumar_11 4 ปีที่แล้ว

    Searching for ES6 tutorials and your video comes first. I would say it's so clear and clean tutorial without much advertisement... nice work Mosh...Gonna subscribe to this channel

  • @kumarvaibhav1307
    @kumarvaibhav1307 3 ปีที่แล้ว +1

    Liked ...shared ....subscribed.... will be using your channel to gain all of my future skills. Keep up such a quality work.!

  • @gauravsoff2179
    @gauravsoff2179 5 ปีที่แล้ว +1

    Perfect js tutorial before learning React!!

  • @ThePolaris87
    @ThePolaris87 5 ปีที่แล้ว

    Excellent summary for people aspiring to tackle React by having a better fundamental understanding.

  • @harshdharnidharka8608
    @harshdharnidharka8608 ปีที่แล้ว +13

    Can I start learning react after this video??

    • @codeintherough
      @codeintherough 5 หลายเดือนก่อน +5

      Yes, you can even start learning before this video

    • @Mecagothits
      @Mecagothits 3 หลายเดือนก่อน

      React is easy

    • @idgafaboutanyone7597
      @idgafaboutanyone7597 หลายเดือนก่อน +2

      ​@@Mecagothits why lie to juniors bruh?!

  • @amjadalsharif8452
    @amjadalsharif8452 4 ปีที่แล้ว +1

    Just perfect: presentation, teaching style & peace, explanation & presentation of the key concepts. Thank you Mosh

    • @tkssharma
      @tkssharma 4 ปีที่แล้ว

      This is my channel for JS developers
      Full of Training Courses
      To Learn there is a playlist with 100 + videos of Demos
      th-cam.com/video/ZWqfADc-0K8/w-d-xo.html

  • @mihirp1408
    @mihirp1408 2 ปีที่แล้ว

    Thank you Mosh for an extremely simple, to the point & high quality crash course covering pretty much all the main concepts of ES6 - gained a lot by watching this.

  • @pruthvim8462
    @pruthvim8462 3 ปีที่แล้ว

    This would be the best tutorial for ES6. Mosh keeps it simple and more understandable.
    Great Job Mosh! :D

  • @mostafahabib97
    @mostafahabib97 2 ปีที่แล้ว

    That is the great tutorial I have ever watched, thank you so much for making it free.

  • @easyfinanceexplained
    @easyfinanceexplained 3 ปีที่แล้ว +1

    Thank You, Sir. It really clears more concepts in a very friendly manner.

  • @caizza3
    @caizza3 4 ปีที่แล้ว +1

    Very clear. Best explanation i've seen!

  • @df15804
    @df15804 4 ปีที่แล้ว +1

    Congratulations, your explanation is amazing, Thank you. Cheers from Brazil.

  • @asimgiri4269
    @asimgiri4269 4 ปีที่แล้ว +2

    For Vanilla JS we have to define the type of script as "module" in order to use modules
    Example:

    • @BobbyDenniegetlost
      @BobbyDenniegetlost 4 ปีที่แล้ว +1

      yes thanks , and file need the .js extension // import { Person } from "./person.js";

  • @lesleyshome
    @lesleyshome 5 ปีที่แล้ว

    Really the first video to watch and learn before stepping into React..Thank you mosh..!

  • @themongru
    @themongru 5 ปีที่แล้ว

    I never fully understood when and how to use the super() method until watching this video, thank you for creating such concise and clear tutorials!

  • @ritikakapoor4583
    @ritikakapoor4583 4 ปีที่แล้ว

    I completed this JavaScript course from scrimba and now I came here to learn about ES6 and five minutes in and I already love love this video. Thank You❤️

  • @petridev77
    @petridev77 4 ปีที่แล้ว

    i knew es6 but this is very clear now. awesome job Mosh !

  • @dinesh.p8642
    @dinesh.p8642 5 ปีที่แล้ว +1

    i am your fan Mosh.i love ur voice ..as cleaner as es6 syntax

  • @stillpickinganame5350
    @stillpickinganame5350 ปีที่แล้ว

    Awesome tutorial! Clear and precise! Thank you so much!

  • @rektlesss8822
    @rektlesss8822 5 ปีที่แล้ว

    so clear language, and building knowledge bit by bit, great teaching, very happy that i came across your channel. Cant wait to see ur future work, impressive

  • @Bayo106
    @Bayo106 4 ปีที่แล้ว

    I didn't know you could use modules in Vanilla JS. There is great value in having different Teachers. Thanks

  • @randomuser23493
    @randomuser23493 2 ปีที่แล้ว

    Mosh you are truly an inspiring instructor. This ES6 course is really good and it will take me far into my Software Developer career. Thank you so much!😁I definitely recommend this course to others who are in need of learning JavaScript to a much deeper level.

  • @javascript_developer
    @javascript_developer 3 ปีที่แล้ว

    Awesome Mosh. I loved the classes and module. Its super clear now.

  • @bilalkhan-vn6hf
    @bilalkhan-vn6hf 3 ปีที่แล้ว

    the best teaching methodology , really I always learn something new and best from mosh lectures

  • @bijalpatel9463
    @bijalpatel9463 4 ปีที่แล้ว

    Thank you so much Mosh!!! It is very useful for me...your teaching method is so good.....

  • @faresgeek-dz5692
    @faresgeek-dz5692 6 ปีที่แล้ว +18

    Make django tutos ....plz
    You are just a great teacher...

  • @davidmathengegoogleplus
    @davidmathengegoogleplus 6 ปีที่แล้ว

    Totally enjoyed the materials in this intro course. Great content. Looking forward to engaging with more of your content.

  • @rosieshiels7500
    @rosieshiels7500 3 ปีที่แล้ว

    Mosh, that was a fantastic video. It explained ES6 for well. Thank you so much!

  • @pranitapanchmukh402
    @pranitapanchmukh402 ปีที่แล้ว

    Thank you so much for this video!! It was much needed!

  • @michaelbarron6687
    @michaelbarron6687 2 ปีที่แล้ว

    Mosh, Thank you so much for taking the time to teach us newbies the basics. Excellent video. I have officially subscribed. Looking forward to more.

  • @qasemraheb623
    @qasemraheb623 2 ปีที่แล้ว

    I join your channel just because of this video and i can't wait to see more video about JS, grazie maestro 🙏

  • @gabrielcosta6917
    @gabrielcosta6917 4 ปีที่แล้ว +1

    Incredible.. Tks for this material.. You are highly clear in your explanation. Congrats.

    • @tkssharma
      @tkssharma 4 ปีที่แล้ว

      This is my channel for JS developers
      Full of Training Courses
      To Learn there is a playlist with 100 + videos of Demos
      th-cam.com/video/ZWqfADc-0K8/w-d-xo.html

  • @akshaymaity5064
    @akshaymaity5064 4 ปีที่แล้ว

    Thanks Mosh. i am from India. I really love it your teaching Technics.
    Thanks a lots for such a great tutorials.

  • @deepakkhetarpal7198
    @deepakkhetarpal7198 3 ปีที่แล้ว

    Wow, simply awesome. I don't subscribe too many techs but I am watching this tutorial for the first time and couldn't resist to like/subscribe. Will be looking forward for new courses and will explore more what's added into this channel.. Thanks Mosh

  • @tymothylim6550
    @tymothylim6550 3 ปีที่แล้ว

    Thank you very much for this video! I learnt quite a bit and revised my ES6 knowledge :)

  • @theonlydino2244
    @theonlydino2244 5 ปีที่แล้ว

    in the map part, u can do const items = colors.map(color => `${color}`) instead of const items = colors.map(color => '' + color + '')

  • @hamzaezzagmoute8646
    @hamzaezzagmoute8646 2 ปีที่แล้ว +1

    Great tutorial from great teacher❤❤

  • @shomendas7011
    @shomendas7011 4 ปีที่แล้ว

    One of the best js tutorial i ever watched

  • @pranshukumar6707
    @pranshukumar6707 3 ปีที่แล้ว

    That was great brother..love and respect from India...it's the most productive 50 minutes of learning I have ever had...great work..!!..👍👍👍

  • @jeps7688
    @jeps7688 6 ปีที่แล้ว

    thanks a lot! I badly needed to learn this.. planing to create an app for my thesis proposal

  • @dancewithzinnia
    @dancewithzinnia 2 ปีที่แล้ว

    Best course ever to refresh es6 features 💯 awesome

  • @justinphilip83
    @justinphilip83 4 ปีที่แล้ว

    Thank you so much Mosh...my all in one Guide for ES6 😍

  • @nikhilsati
    @nikhilsati 5 ปีที่แล้ว +1

    Thanks for making this amazing video... It really helped in quickly polishing javascript concepts in order to get started with react...
    I'm going to come up to this video many time in order to grab it fully...
    Thanks again❤

  • @venoms3160
    @venoms3160 3 ปีที่แล้ว

    Brilliant Stuff Mosh. I love the way you explain various complicated concepts in such a simplified manner.

  • @forbiddenumbrella
    @forbiddenumbrella 4 ปีที่แล้ว

    It was like a movie, I didn't even know when 50 mins passed ! Love ur content MOSH

  • @keacydebayo9365
    @keacydebayo9365 10 หลายเดือนก่อน

    Seriously, you save me hours of research in just an hour length of video

  • @EnergizerTX
    @EnergizerTX 2 ปีที่แล้ว

    It would appear named imports are simply destructuring the object module. Great recap of ES6 by the way.

  • @msdnsolutions
    @msdnsolutions 3 ปีที่แล้ว

    Great and efficient info to start! Thank you for the great videos and tutorials, Mosh!

    • @jadijohnson2899
      @jadijohnson2899 3 ปีที่แล้ว

      th-cam.com/video/r8hmbvKYkZs/w-d-xo.html watch this video for javascript project

  • @navidmafi
    @navidmafi 2 ปีที่แล้ว

    Very, VERY helpful and cleared so much concepts for me, you are a hero Mosh

  • @swatipriya8260
    @swatipriya8260 3 ปีที่แล้ว

    Your teaching technique is just amazing

  • @digigoliath
    @digigoliath 4 ปีที่แล้ว

    WOW, this is really valuable material. Very well explained in an easy to understand approach! Pure Gold!! You are a great teacher MOSH! Thank you very much. I finished your 2.5 hrs REACT course before coming to this. I enjoyed it too.