Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The one that doesn't like modifying function arguments?


Usually that only disallows reassignment of function arguments. For example, eslint's no-param-reassign rule by default allows modifying the properties of the function argument. However, the "props" parameter for this rule can disallow even the modification of properties of a function's argument.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: