{"_id":"@putout/plugin-arguments","_rev":"4160195","name":"@putout/plugin-arguments","description":"🐊Putout plugin adds ability to find and remove useless arguments","dist-tags":{"latest":"1.4.0"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T20:37:46.000Z","created":"2025-11-30T11:23:52.863Z","1.4.0":"2026-02-07T20:50:09.887Z","1.3.0":"2026-01-28T12:35:33.132Z","1.2.0":"2026-01-24T13:28:06.501Z","1.1.2":"2025-11-30T19:25:02.986Z","1.1.1":"2025-11-30T19:10:20.241Z","1.1.0":"2025-11-30T19:06:44.584Z","1.0.0":"2025-11-30T11:23:52.863Z"},"users":{},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"versions":{"1.4.0":{"name":"@putout/plugin-arguments","version":"1.4.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove useless arguments","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-arguments#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","useless","arguments"],"devDependencies":{"@putout/test":"^15.0.0","c8":"^10.0.0","eslint":"^10.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^30.0.0","madrun":"^12.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-arguments@1.4.0","gitHead":"62f03e7ccfda4164481f6cf798029b0b904d1186","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.5.0","_npmVersion":"11.4.2","dist":{"shasum":"98708d5b716605dee0039728d3fa6c5979f54bce","size":5545,"noattachment":false,"key":"/@putout/plugin-arguments/-/@putout/plugin-arguments-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-arguments/download/@putout/plugin-arguments-1.4.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-arguments_1.4.0_1770497409744_0.5398567443470406"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-07T20:50:09.887Z","publish_time":1770497409887,"_source_registry_name":"default","_cnpm_publish_time":1770497409887},"1.3.0":{"name":"@putout/plugin-arguments","version":"1.3.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove useless arguments","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-arguments#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","useless","arguments"],"devDependencies":{"@putout/test":"^15.0.0","c8":"^10.0.0","eslint":"^10.0.0-alpha.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^30.0.0","madrun":"^12.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-arguments@1.3.0","gitHead":"e5643bbe81883984167afe062290e2595c602076","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.4.0","_npmVersion":"11.4.2","dist":{"shasum":"395000a5792570e216e70819aab1a60833c3cb57","size":5282,"noattachment":false,"key":"/@putout/plugin-arguments/-/@putout/plugin-arguments-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-arguments/download/@putout/plugin-arguments-1.3.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-arguments_1.3.0_1769603732987_0.553461131170123"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-28T12:35:33.132Z","publish_time":1769603733132,"_source_registry_name":"default","_cnpm_publish_time":1769603733132},"1.2.0":{"name":"@putout/plugin-arguments","version":"1.2.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove useless arguments","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-arguments#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","useless","arguments"],"devDependencies":{"@putout/test":"^15.0.0","c8":"^10.0.0","eslint":"^10.0.0-alpha.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^30.0.0","madrun":"^12.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-arguments@1.2.0","gitHead":"0062df28c2207f34f8878326dda2044609cd3061","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.3.0","_npmVersion":"11.4.2","dist":{"shasum":"94b219933986da16145c4cb051aa06525ded1d70","size":4868,"noattachment":false,"key":"/@putout/plugin-arguments/-/@putout/plugin-arguments-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-arguments/download/@putout/plugin-arguments-1.2.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-arguments_1.2.0_1769261286336_0.7745319363138468"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-24T13:28:06.501Z","publish_time":1769261286501,"_source_registry_name":"default","_cnpm_publish_time":1769261286501},"1.1.2":{"name":"@putout/plugin-arguments","version":"1.1.2","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove useless arguments","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-arguments#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","useless","arguments"],"devDependencies":{"@putout/test":"^14.0.0","c8":"^10.0.0","eslint":"v10.0.0-alpha.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^29.0.0","madrun":"^11.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-arguments@1.1.2","gitHead":"ddaab48d13ed37ec69431db8a9c149a25e5ed851","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"d35329506d63b578af5981b94ea0f902b8e122b0","size":4341,"noattachment":false,"key":"/@putout/plugin-arguments/-/@putout/plugin-arguments-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-arguments/download/@putout/plugin-arguments-1.1.2.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-arguments_1.1.2_1764530702797_0.437045479295054"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-30T19:25:02.986Z","publish_time":1764530702986,"_source_registry_name":"default","_cnpm_publish_time":1764530702986},"1.1.1":{"name":"@putout/plugin-arguments","version":"1.1.1","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove useless arguments","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-arguments#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","useless","arguments"],"devDependencies":{"@putout/test":"^14.0.0","c8":"^10.0.0","eslint":"v10.0.0-alpha.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^29.0.0","madrun":"^11.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-arguments@1.1.1","gitHead":"16de4478a3c3422845f6d40969e2c41f58760819","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"d80296ea55da326ee5bf3a53c15379fee6f1923e","size":4329,"noattachment":false,"key":"/@putout/plugin-arguments/-/@putout/plugin-arguments-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-arguments/download/@putout/plugin-arguments-1.1.1.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-arguments_1.1.1_1764529820056_0.7536431380992181"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-30T19:10:20.241Z","publish_time":1764529820241,"_source_registry_name":"default","_cnpm_publish_time":1764529820241},"1.1.0":{"name":"@putout/plugin-arguments","version":"1.1.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove useless arguments","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-arguments#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","useless","arguments"],"devDependencies":{"@putout/test":"^14.0.0","c8":"^10.0.0","eslint":"v10.0.0-alpha.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^29.0.0","madrun":"^11.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-arguments@1.1.0","gitHead":"f9fad34e98ab934ed54158847dd70c4480693eeb","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"e5cf454d6fb10c62abb62024455036c90ca62d3b","size":4331,"noattachment":false,"key":"/@putout/plugin-arguments/-/@putout/plugin-arguments-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-arguments/download/@putout/plugin-arguments-1.1.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-arguments_1.1.0_1764529604361_0.5920158356235801"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-30T19:06:44.584Z","publish_time":1764529604584,"_source_registry_name":"default","_cnpm_publish_time":1764529604584},"1.0.0":{"name":"@putout/plugin-arguments","version":"1.0.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove useless arguments","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-arguments#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","useless","arguments"],"devDependencies":{"@putout/test":"^14.0.0","c8":"^10.0.0","eslint":"v10.0.0-alpha.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^29.0.0","madrun":"^11.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-arguments@1.0.0","gitHead":"736fd9abe4264e8dff7c68ca98f120edca400732","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"4f023be605f8dcc95f061fd7f0b50cf2cc78377c","size":3861,"noattachment":false,"key":"/@putout/plugin-arguments/-/@putout/plugin-arguments-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-arguments/download/@putout/plugin-arguments-1.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-arguments_1.0.0_1764501832648_0.24015189769702694"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-30T11:23:52.863Z","publish_time":1764501832863,"_source_registry_name":"default","_cnpm_publish_time":1764501832863}},"readme":"# @putout/plugin-arguments [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-arguments.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-arguments \"npm\"\n\n????[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and remove useless `arguments`.\n\n## Install\n\n```\nnpm i @putout/plugin-arguments\n```\n\n## Rules\n\n- ✅ [apply-json-parse](#apply-json-parse);\n- ✅ [apply-rest](#apply-rest);\n- ✅ [convert-expressiont-to-arguments](#convert-expression-to-arguments);\n- ✅ [remove-duplicate](#remove-duplicate);\n- ✅ [remove-useless](#remove-useless);\n- ✅ [remove-useless-from-method](#remove-useless-from-method);\n- ✅ [remove-unused](#remove-unused);\n- ✅ [remove-empty](#remove-empty);\n\n## Config\n\n```json\n{\n    \"rules\": {\n        \"arguments/apply-json-parse\": \"on\",\n        \"arguments/apply-rest\": \"on\",\n        \"arguments/convert-expressiont-to-arguments\": \"on\",\n        \"arguments/remove-duplicate\": \"on\",\n        \"arguments/remove-useless\": \"on\",\n        \"arguments/remove-useless-from-method\": \"on\",\n        \"arguments/remove-unused\": \"on\",\n        \"arguments/remove-empty\": \"on\"\n    }\n}\n```\n\n### apply-json-parse\n\n> The `JSON.parse()` static method parses a JSON string, constructing the JavaScript value or object described by the string. An optional reviver function can be provided to perform a transformation on the resulting object before it is returned.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse)\n\nCheck it out in ????[**Putout Editor**](https://putout.cloudcmd.io/#/gist/efdb0e3d0ab937f7901ce3047626b5fd/580aa27e4fb61fbfe3eead0cd21971a6ff084174).\n\n### ❌ Example of incorrect code\n\n```js\nimport {operator} from 'putout';\n\nconst {fromJS} = operator;\nJSON.parse(fromJS(print(ast)), null, 4);\n```\n\n### ✅ Example of correct code\n\n```js\nimport {operator} from 'putout';\n\nconst {fromJS} = operator;\nJSON.parse(fromJS(print(ast)));\n```\n\n## apply-rest\n\n> The rest parameter syntax allows a function to accept an indefinite number of arguments as an `array`, providing a way to represent variadic functions in JavaScript.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters)\n\n### ❌ Example of incorrect code\n\n```js\nfunction hello() {\n    console.log(arguments);\n}\n```\n\n### ✅ Example of correct code\n\n```js\nfunction hello(...args) {\n    console.log(args);\n}\n```\n\n## convert-expression-to-arguments\n\n> `Uncaught SyntaxError: Malformed arrow function parameter list` occurs when your function declaration is missing valid parameters.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Missing_formal_parameter)\n\n????[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to fix `SyntaxError: missing formal parameter` .\nCheckout in ????[**Putout Editor**](https://putout.vercel.app/#/gist/e1818c2385974e136ae77eb28b3d2221/66dcb650e02aaafffa7fe00914f80366c4bfd7d3).\n\n## ❌ Example of incorrect code\n\n```\n(a(hello, world)) => (b + a);\n(a + b) => (b + a);\n(a || b) => (b + a);\n```\n\n## ✅ Example of correct code\n\n```js\n(a, hello, world) => a;\n(a, b) => b + a;\n(a, b) => b + a;\n```\n\n## remove-duplicate\n\n> The JavaScript exception `duplicate formal argument x` or `duplicate argument names not allowed in this context` occurs when a function creates two or more parameter bindings with the same name, and the function is not a non-strict function with only simple parameters.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Duplicate_parameter)\n\nCheckout in ????[**Putout Editor**](https://putout.cloudcmd.io/#/gist/7f6d549de44d73601ad8cbffc09269fc/586dcb0463439365875098c04ac4e11553911478).\n\n```diff\n-const sum = (a, a) => {}\n+const sum = (a) => {}\n```\n\n## Comparison\n\nLinter          | Rule  | Fix\n----------------|-------|------------|\n???? **Putout**   | [`arguments/remove-duplicate`](https://github.com/coderaiser/putout/tree/master/packages/plugin-arguments#remove-duplicate) | ✅\n⏣ **ESLint**    | [`no-dupe-args`](https://eslint.org/docs/rules/no-dupe-args) | ❌\n???? **Deno**     | [`no-dupe-args`](https://docs.deno.com/lint/rules/no-dupe-args/) | ❌\n\n## remove-useless\n\n### ❌ Example of incorrect code\n\n```js\nconst sum = (a, b) => {};\nsum(a, b, c);\n```\n\n### ✅ Example of correct code\n\n```js\nconst sum = (a, b) => {};\nsum(a, b);\n```\n\n### remove-useless-from-method\n\nCheck it out in ????[**Putout Editor**](https://putout.cloudcmd.io/#/gist/362c37e9f533299a7e721ac46f936801/0a47d094bd2a048eb6dcc224b808a63f2d076ccb).\n\n### ❌ Example of incorrect code\n\n```js\nclass Parser {\n    parseStatement(context, topLevel, exports) {\n        this.parseGuard(a, b);\n    }\n    \n    parseGuard() {}\n}\n```\n\n### ✅ Example of correct code\n\n```js\nclass Parser {\n    parseStatement(context, topLevel, exports) {\n        this.parseGuard();\n    }\n    \n    parseGuard() {}\n}\n```\n\n### remove-unused\n\nCheck it out in ????[**Putout Editor**](https://putout.cloudcmd.io/#/gist/f6bf5e069cfb1328fe7418c501e265cc/388ab2266babe84f77c1f82687f5ed44873e8651).\n\n### ❌ Example of incorrect code\n\n```js\nmember += compute(member, list[i]);\n\nfunction compute(member, current) {\n    return String(current);\n}\n```\n\n### ✅ Example of correct code\n\n```js\nmember += compute(list[i]);\n\nfunction compute(current) {\n    return String(current);\n}\n```\n\n### remove-empty\n\n> `Uncaught SyntaxError: Unexpected token ','`\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Unexpected_token)\n\nCheck it out in ????[**Putout Editor**](https://putout.cloudcmd.io/#/gist/56f6e4cc87d0e4830ce570c1af8a7a4b/e85940bd6cbf4448e8a062543ce2e9fa67d0bb69).\n\n```diff\n-renameFileWithLog('hello', ,'world');\n+renameFileWithLog('hello', 'world');\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-arguments#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT"}