---
title: "ES7 Features"
description: "Overview of ECMAScript 7 (ES2016) features and proposals. Practical notes and code examples on ES7 Features by Hemanth HM."
url: "https://h3manth.com/scribe/es7-features/"
canonical_url: "https://h3manth.com/scribe/es7-features/"
markdown_url: "https://h3manth.com/scribe/blog/es7-features.md"
publishDate: "2015-03-10T00:00:00.000Z"
author: "Hemanth HM"
category: "javascript"
tags: ["javascript","es7"]
word_count: 89
reading_time_minutes: 1
x_markdown_tokens: 270
content_signal: "ai-train=yes, search=yes, ai-input=yes"
---

# ES7 Features

> Overview of ECMAScript 7 (ES2016) features and proposals. Practical notes and code examples on ES7 Features by Hemanth HM.

ECMAScript 7 is the next evolution of the ECMA-262 standard.

## Exponentiation Operator

```javascript
let cubed = x => x ** 3;
cubed(2); // 8
## Array.prototype.includes

```javascript
[1, 2, 3].includes(3); // true
[1, 2, NaN].includes(NaN); // true

## Async Functions
javascript
async function asyncMania() {
  console.log("1");
  await wait(1000);
  console.log("2");
}

## Object.observe
javascript
Object.observe(obj, function(changes) {
  console.log(changes);
});

## Object.getOwnPropertyDescriptors
javascript
let life = { answer: 42 };
Object.getOwnPropertyDescriptor(life, 'answer');
// { configurable: true, enumerable: true, value: 42, writable: true }
```

See the full list at [git.io/es7](http://git.io/es7).
