---
title: "Discussion on \"ES6: How to distinguish between spread & rest operators?\" | Hashnode"
description: "Discussion on \"ES6: How to distinguish between spread & rest operators?\". This tip is for those learners who already know what spread & rest operators are but sometimes are unclear when one is being used.\n\nWhen we see \"...\" in the code, it is either rest parameters or the spread operator.\nThere’s an easy way to distinguish..."
url: "https://hashnode.com/posts/es6-how-to-distinguish-between-spread-rest-operators-272e7877c5a1/632de9b23a049a0d9db74258"
---

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

Discussion

# [ES6: How to distinguish between spread & rest operators?](https://blog.junaidahmed.dev/es6-how-to-distinguish-between-spread-rest-operators-272e7877c5a1?utm_source=hashnode&utm_medium=feed)

This tip is for those learners who already know what spread & rest operators are but sometimes are unclear when one is being used. When we see "..." in the code, it is either rest parameters or the spread operator. There’s an easy way to distinguish...

Sep 13, 2019 · 1 min read · blog.junaidahmed.dev  
Updated Oct 19, 2022  
Read the article

## Written by

[Junaid Ahmed](https://hashnode.com/@junaidahmed)

@junaidahmed

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

A half-stack JavaScript developer with a focus on the frontend.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
