News for hackers. Stuff that matters.
Re:JavaScript is Good, Actually by camel_Snake on Wednesday May 16, 2018 @10:18PM (#17088199)
nonlocal implies that you are reassigning a variable outside of the local scope.

Your example works because you are mutating an existing object, not reassigning a new one.

It's a disingenuous comparison IMO.

There are no comments on this comment yet.