---
title: "Discussion on \"ES6 way of coding Javascript!\" | Hashnode"
description: "Discussion on \"ES6 way of coding Javascript!\". Explore New Syntax in JavaScript ES6"
url: "https://hashnode.com/posts/es6-way-of-coding-javascript/61c9873a1de80a7fb22800a7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [ES6 way of coding Javascript!](https://wordssaysalot.hashnode.dev/es6-way-of-coding-javascript?utm_source=hashnode&utm_medium=feed)

Explore New Syntax in JavaScript ES6

Dec 27, 2021 · 2 min read · wordssaysalot.hashnode.dev  
Read the article

-   [#js](https://hashnode.com/tag/js)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Ritesh Kumar](https://hashnode.com/@wordssaysalot)

@wordssaysalot · India

  
[View profile](https://hashnode.com/@wordssaysalot)

𝗧𝗿𝘆𝗶𝗻𝗴 𝘁𝗼 𝗠𝗮𝗸𝗲 𝗧𝗵𝗶𝗻𝗴𝘀 𝗦𝗶𝗺𝗽𝗹𝗲𝗿 !

Hey! I'm a multi-disciplinary UI/UX Designer based in India. I found salvation and happiness through reinvention as a designer.

## Responses 5

Markdown supported · ⌘↵ to post

[Reddy Divya](https://hashnode.com/@ReddyDivya)

[Jun 9, 2022](https://hashnode.com/posts/es6-way-of-coding-javascript/61c9873a1de80a7fb22800a7/comment/62a1e5ed6cc4647a1b00475b)

Simple and Crisp. I really appreciate it.

[Dec 31, 2021](https://hashnode.com/posts/es6-way-of-coding-javascript/61c9873a1de80a7fb22800a7/comment/61ce94547cb96c3f9225ef86)

```
function ES5Fun( username, platform){
    username, = username, || '@wordssaysalot';
    platform = platform || 'Hashnode';
}
```

`Uncaught SyntaxError: Unexpected token '='`

[Tapas Adhikary](https://hashnode.com/@atapas)

[Dec 28, 2021](https://hashnode.com/posts/es6-way-of-coding-javascript/61c9873a1de80a7fb22800a7/comment/61ca814733e7cd256b0fc67c)

True. It is a lot convenient and error-safe.

[Vasant Kumar](https://hashnode.com/@vasant0)

[Dec 27, 2021](https://hashnode.com/posts/es6-way-of-coding-javascript/61c9873a1de80a7fb22800a7/comment/61ca1ad95fc5da1847327fd0)

thank you for sharing,

[Ritesh Kumar](https://hashnode.com/@wordssaysalot)

[Dec 27, 2021](https://hashnode.com/posts/es6-way-of-coding-javascript/61c9873a1de80a7fb22800a7/comment/61ca1ad95fc5da1847327fd0#reply-61ca1b925fc5da1847327fdb)

thanks mate <3

[Nitin Kumar](https://hashnode.com/@aarav501)

[Dec 27, 2021](https://hashnode.com/posts/es6-way-of-coding-javascript/61c9873a1de80a7fb22800a7/comment/61c990fb5fc5da1847327360)

well explained 🔥 thanks for sharing ❤️

[Ritesh Kumar](https://hashnode.com/@wordssaysalot)

[Dec 27, 2021](https://hashnode.com/posts/es6-way-of-coding-javascript/61c9873a1de80a7fb22800a7/comment/61c990fb5fc5da1847327360#reply-61ca1b641de80a7fb2280e5b)

thanks mate <3
