<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/4-javascript-es2018-features-you-should-know-ae0bfsd43" -->

---
title: 4 JavaScript ES2018 Features You Should Know | daily.dev
description: The ES2018 specification introduced four new features. These features are asynchronous iteration, rest/spread properties, Promise.prototype.finally() and...
canonical: https://daily.dev/posts/4-javascript-es2018-features-you-should-know-ae0bfsd43
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: 4 JavaScript ES2018 Features You Should Know | daily.dev
og:description: The ES2018 specification introduced four new features. These features are asynchronous iteration, rest/spread properties, Promise.prototype.finally() and...
og:url: https://daily.dev/posts/4-javascript-es2018-features-you-should-know-ae0bfsd43
og:image: https://api.daily.dev/og/posts/Ae0bfsD43.png
og:image:alt: 4 JavaScript ES2018 Features You Should Know
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 4 JavaScript ES2018 Features You Should Know

**[Hashnode](https://daily.dev/sources/hashnode)** · [@alimammiya](https://daily.dev/alimammiya) · 8 min read · 46 upvotes · 5 comments

## Summary

The ES2018 specification introduced four new features. These features are asynchronous iteration, rest/spread properties, Promise.prototype.finally() and regular expression improvements. This tutorial will help you learn how these features work and how to use them. Asynchronous iteration is one of the lesser discussed ES2018 features. With asynchronous iteration we get asynchronous iterables and iterators.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://alimammiya.hashnode.dev/4-javascript-es2018-features-you-should-know-1>

## Community discussion

Top comments from developers on daily.dev.

**@samukdev** · 1 upvotes

> Thanks for sharing! :D

**@blurk** · 1 upvotes

> Very informative, thank you 😄

**@dshung1997** · 1 upvotes

> Cool! Named capture groups are really helpful

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/4-javascript-es2018-features-you-should-know-ae0bfsd43)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"4 JavaScript ES2018 Features You Should Know","url":"https://daily.dev/posts/4-javascript-es2018-features-you-should-know-ae0bfsd43","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/4-javascript-es2018-features-you-should-know-ae0bfsd43"},"datePublished":"2021-03-23T04:56:56.281Z","dateModified":"2021-10-07T14:17:10.317Z","description":"The ES2018 specification introduced four new features. These features are asynchronous iteration, rest/spread properties, Promise.prototype.finally() and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/704a57ebbf7e57d1a9f35e250f96e266","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/704a57ebbf7e57d1a9f35e250f96e266","isAccessibleForFree":true,"articleSection":"Hashnode","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Alimam Miya","url":"https://daily.dev/alimammiya","image":"https://avatars.githubusercontent.com/u/52057677?v=4","description":"I’m an SEO Expert and web developer with 6+ years of experience building tools, and extensions.","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":230}},"commentCount":5,"discussionUrl":"https://daily.dev/posts/4-javascript-es2018-features-you-should-know-ae0bfsd43","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":46},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":5}],"keywords":"javascript","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hashnode","item":"https://daily.dev/sources/hashnode"},{"@type":"ListItem","position":3,"name":"4 JavaScript ES2018 Features You Should Know"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/4-javascript-es2018-features-you-should-know-ae0bfsd43","comment":[{"@type":"Comment","text":"Thanks for sharing! :D","datePublished":"2021-03-23T11:53:35.697Z","url":"https://daily.dev/posts/Ae0bfsD43#c-8WgmV9jZ2","author":{"@type":"Person","name":"Samuel Barbosa da Silva","url":"https://daily.dev/samukdev","image":"https://lh3.googleusercontent.com/-mMuianOvk-A/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucmt2acnl1EqCnczY62jtVLO3RmHdw/s100/photo.jpg"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Very informative, thank you 😄","datePublished":"2021-03-23T15:30:12.049Z","url":"https://daily.dev/posts/Ae0bfsD43#c-APxBqD0Se","author":{"@type":"Person","name":"Sinh Nguyen","url":"https://daily.dev/blurk","image":"https://media.daily.dev/image/upload/v1684678076/avatars/avatar_IbcaoHvq6.jpg"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Cool! Named capture groups are really helpful","datePublished":"2021-03-25T03:32:38.495Z","url":"https://daily.dev/posts/Ae0bfsD43#c-eb8e1jAFm","author":{"@type":"Person","name":"Sy-Hung Doan","url":"https://daily.dev/dshung1997","image":"https://avatars2.githubusercontent.com/u/19758667?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

