News for hackers. Stuff that matters.
Re:ECMAScript 2017 Language Specification by nawitus on Tuesday July 11, 2017 @01:18PM (#14745976)
Which linter rule is that?
Re:ECMAScript 2017 Language Specification by mirekrusin on Tuesday July 11, 2017 @01:35PM (#14746134)
The one that doesn't like modifying function arguments?
Re:ECMAScript 2017 Language Specification by nawitus on Tuesday July 11, 2017 @04:38PM (#14747838)
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.