---
title: "Comment by Adebisi Oluwafemi on \"JavaScript Function Parameters\" | Hashnode"
description: "Nice U could make d function dynamic by taking array as an input and looping through it to add values. That way u take in only 1 argument nd can take tons of va"
url: "https://hashnode.com/posts/javascript-function-parameters/62c24187ccecfb25bbc76dc7/comment/62c2f5b5c0401b3dcbcfd9ea"
---

[Discussion](https://hashnode.com/posts/javascript-function-parameters/62c24187ccecfb25bbc76dc7)

Comment [JavaScript Function Parameters](https://hashnode.com/posts/javascript-function-parameters/62c24187ccecfb25bbc76dc7)

[Adebisi Oluwafemi](https://hashnode.com/@Albus01)

[Jul 4, 2022](https://hashnode.com/posts/javascript-function-parameters/62c24187ccecfb25bbc76dc7/comment/62c2f5b5c0401b3dcbcfd9ea)

Nice U could make d function dynamic by taking array as an input and looping through it to add values. That way u take in only 1 argument nd can take tons of values as an array

[Joy Opeyemi Oluwafemi](https://hashnode.com/@JoyPaces)

[Jul 4, 2022](https://hashnode.com/posts/javascript-function-parameters/62c24187ccecfb25bbc76dc7/comment/62c2f5b5c0401b3dcbcfd9ea#reply-62c2fc37c0401b3dcbcfdb67)

You are right Adebisi, rest parameters which is also one of the features of ES6 parameters handles that.
