<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/KFHZB97BA" -->

---
title: 5 ES6 features you need to know | daily.dev
description:  ES6 has a number of new features that are useful for frontend developers. In this post I will share simple explanation of the following features:let, const,...
canonical: https://daily.dev/posts/5-es6-features-you-need-to-know-kfhzb97ba
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: 5 ES6 features you need to know | daily.dev
og:description:  ES6 has a number of new features that are useful for frontend developers. In this post I will share simple explanation of the following features:let, const,...
og:url: https://daily.dev/posts/5-es6-features-you-need-to-know-kfhzb97ba
og:image: https://api.daily.dev/og/posts/KFHZB97BA.png
og:image:alt: 5 ES6 features you need to 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.

# 5 ES6 features you need to know

**[Hashnode](https://daily.dev/sources/hashnode)** · 4 min read · 13 upvotes · 2 comments

## Summary

ES6 has a number of new features that are useful for frontend developers. In this post I will share simple explanation of the following features:let, const, spread, rest and destructuring. Let is a replacement of famous var to declare variables. const is used to declare a constant block-scope (similar to'let')

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://tringacodes.com/5-es6-features-you-need-to-know>

## Community discussion

Top comments from developers on daily.dev.

**@youssefrabeiii** · 2 upvotes

> TL;DR
> 1- let & const
>
> 2- Arrow functions
>
> 3- Classes
>
> 4- Spread & rest operators
>
> 5- Destructuring

**@izzic** · 0 upvotes

> Very Useful

---

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

[View this post on daily.dev](https://daily.dev/posts/5-es6-features-you-need-to-know-kfhzb97ba)

```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":"5 ES6 features you need to know","url":"https://daily.dev/posts/5-es6-features-you-need-to-know-kfhzb97ba","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/5-es6-features-you-need-to-know-kfhzb97ba"},"datePublished":"2020-10-08T21:09:28.278Z","dateModified":"2021-10-07T14:17:10.317Z","description":" ES6 has a number of new features that are useful for frontend developers. In this post I will share simple explanation of the following features:let, const,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6ce7ce76b10f92cb31fe8a27df36821b","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6ce7ce76b10f92cb31fe8a27df36821b","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":"Organization","name":"Hashnode","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/4a287b2e7cb5499bae863f8e7137cdb4","url":"https://daily.dev/sources/hashnode"},"commentCount":2,"discussionUrl":"https://daily.dev/posts/5-es6-features-you-need-to-know-kfhzb97ba","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":13},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"javascript","timeRequired":"PT4M"}
{"@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":"5 ES6 features you need to know"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/5-es6-features-you-need-to-know-kfhzb97ba","comment":[{"@type":"Comment","text":"TL;DR\n1- let \u0026amp; const\n2- Arrow functions\n3- Classes\n4- Spread \u0026amp; rest operators\n5- Destructuring","datePublished":"2020-10-09T05:39:10.849Z","url":"https://daily.dev/posts/KFHZB97BA#c-ddj0br7rC","author":{"@type":"Person","name":"Youssef Rabei","url":"https://daily.dev/youssefrabeiii","image":"https://media.daily.dev/image/upload/s--b2nGQMx2--/f_auto/v1749914122/avatars/avatar_4cc7c8bed979438692525f379542ec32?_a=BAMClqUq0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"Very Useful","datePublished":"2020-10-09T00:00:32.105Z","url":"https://daily.dev/posts/KFHZB97BA#c-_pqP6rcsd","author":{"@type":"Person","name":"ISaac","url":"https://daily.dev/izzic","image":"https://avatars3.githubusercontent.com/u/47258925?v=4"}}]}
```

