---
title: "Nikolai Kolesnikov (@kolesnilkov) | Hashnode"
description: "full stack developer (js, typescript, kotlin, php). Read the latest articles by Nikolai Kolesnikov on Hashnode."
url: "https://hashnode.com/@kolesnilkov"
---

@kolesnilkov

# Nikolai Kolesnikov

@kolesnilkov · Joined October 2020

full stack developer (js, typescript, kotlin, php)

## Comments

[I guess it depends on point of view. When you declare function it is "rest": function funcName(a, b, ...rest) { console.log(rest); } When you call function (or fill array, object) and try to pass a few arguments it is "spread": funcName(...spread); \[...spread\]; {...spread};](https://hashnode.com/posts/es6-features-you-need-to-know/5f7f435daddab004867df53f/comment/5f7fc9f0b8638504a7c123d6#reply-5f8045f46e4aaa12c8be82e7)

Reply · Article · Oct 9, 2020 · [ES6 features you need to know](https://hashnode.com/posts/es6-features-you-need-to-know/5f7f435daddab004867df53f)
