ECMA 2020 version features BigInt , Promise.allSettled() , globalThis , Nullish Coalescing Operator (??) , Optional Chaining Operator (?.)
#javaScript #ES2020 #globalThis
*My Udemy Courses
https://www.udemy.com/js-masterclass/
https://www.udemy.com/course/react-hooks-course/
Follow me for technology updates
* https://facebook.com/techsith
* https://www.facebook.com/groups/techsith
* https://twitter.com/techsith1
* https://www.linkedin.com/groups/13677140/
* https://medium.com/@patelhemil
Help me translate this video.
* https://www.youtube.com/timedtext_cs_panel?c=UCbGZKLIHpox2l0whz6_RYyg&tab=2
Note: use https://translate.google.com/ to translate this video to your language. Let me know once you do that so i can give you credit. Thank you in advance.
Original source
42 responses to “JavaScript ES2020 awesome new features.”
WW III
Thanks, will help me with my big JS projects.
Well techsnitch, i think I can come up a few better ways to start the year, but go on since we're here..
How different it is from ES2019 and ES6? Is it required to learn from Test Automation (with JavaScript) perspective? Please confirm.
Great sir
Thank u
I've been waiting for these to make their way from TS into JS for so long. Great stuff!
x?.profile?.name was basically available in ES2018 too
I like how they have borrowed ?? and ?. from angular. It makes coding thing with vanilla js much more simpler.
This can make pairing ?. with ??. Oh my… Happy New Year techsith
Should have called the 3rd promise p4 just to trigger everyone's OCD.
all these cool new features. Too bad we still have to cater to people using IE.
bau divase video aayo pan jordar aayo
Thank's
You can this condition:- if('name' in x.profile) till '??' is not available
Hello Techsith, a great video as everytime. Is it possible to have a conversation on JavaScript I need bit of guidance from you.
its awsome
Definitely a decent way to start the new year 2020 with ES2020!
Thank you sooooo much for this sharing. ^___^b
We really like the way you're teaching.
We started teaching project-based React.
And would appreciate your feedback.
Would be great to make some updated and COMPLETE and opinioted development setups for 1) Component library development and 2) For application development WITHOUT frameworks.
Like… VS Code settings.json, node, yarn, lerna, typescript, eslint, prettier, husky, lint-staged, mby hygen, git, npm. While there are a ton of material on how to use those tools in separation, firstly 99,9% of those tutorials are real crap and far from real-world development. Secondly, often there are tweaks and tricks to compose different tools to play together nicely. Think of .gitignore and lintstagedrc. Or tsconfig 'extends' property for better monorepo code organization for different builds. Or… i often see tslint and eslint in same repository which is somewhat outdated thing to do. Typescript component library monorepo setup. How to do that? Rarely who knows that. How to configure eslint with prettier? Rarely who exposes good practices. "You can do this or you can do that" is bad way to teach something. You need to teach about caveats, tricks, USECASES when to prefer one setting over another.
It would be much better to have OPINIONATED, but complete setups than non-opinionated, but incomplete setups.
And… in my experience there are those 2 kind of setups mostly used. One for NPM library development and another for application development where you import your own NPM modules.
Very nice
Sir any tutorials on Blazor?
BigInt, globalthis, allsatelled are 2019 features.
?. I m using this feature since 2018 in angular.
?? is new for me🤘🏻🤘🏻
The best feature i liked is x?.profile?.name ..
Thanks for the video ! Can you please also guide us over data structure and algorithms in Javascript? Would be a great help
how to download embedded pdf from js viewer from website ctrl+p not working, display : none to display : inline not working any other way to download. please help me
When i can use this without babel?
thanks for the video.
why optional chaining still not working in react or angular app?
they use webpack & compile es6 to es5 using babel-loader
only angular template supports it.
Thanks. Another great video. Happy New Year!
double ? operator which I have first seen in C# language with the same grammar meaning 😄 long long yrs ago💅
My lovely teacher😻
Excellent video.
What software do you use for video editing?
?? works in firefox right now
Happy new year techsith! 🙂
Great work TechSith. You're one of the best technical teachers on YouTube and trust me, I've watched too many videos on JS. Keep up your good videos. I like that you give examples to put this into context.
Mate, as for the " ?. " operator
Doesn't it already exist in Typescript? I remember having needed to use it quite a few times back when i played with Angular in the past
I dunno why i always believed that it also existed in Javascript ;D
Perfect!. Thanks for the video
Cool video. Happy New Year!
Cool video😍 at start of the year 😊
Keep rocking
Does the ?? Comes with all version of react as they have inbuilt babel?
💕
Happy new year #techsith sir
Thanks! I love this channel. When I started learning JS I was also learning TS so I used the "?" operator in TypeScript, but I thought it was JS, it was disappointing for me to realize that it was available only on TS. Thanks Hemil!
First