5 Most Exciting ES13 Features You Should Know About
<p><strong>ES13 (ECMAScript 2022) </strong>has been released a long time ago and it has been updated with many useful features.</p>
<p><strong>In this article, I’d like to share with you 5 of my favorite techniques that I’ve already begun implementing in my work.</strong></p>
<h1>1. Top-level await</h1>
<p><strong>await</strong> is my favorite feature, as it allows my code to appear more elegant. Indeed, there is no longer the burden of callback hell.</p>
<p><iframe frameborder="0" height="435" scrolling="no" src="https://javascript.plainenglish.io/media/af0a8ecaedb3323f6107e296764b590c" title="3.js" width="680"></iframe></p>
<p>The “async” function is not the only place where you can use “await”; you can even utilize it like this, which is truly amazing.</p>
<p><iframe frameborder="0" height="303" scrolling="no" src="https://javascript.plainenglish.io/media/17075cec4e1dee9cdd2b830dd6db1b00" title="4.js" width="680"></iframe></p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/0*2sqFEPoaXNf04H7Y.png" style="height:314px; width:700px" /></p>
<p>This feature is fantastic and allows us to do many things that we could not do in the past.</p>
<p><a href="https://javascript.plainenglish.io/5-most-exciting-es13-features-you-should-know-about-c1c304f4ce02">Click Here</a></p>