This repository has been archived by the owner on Oct 14, 2022. It is now read-only.
Use constants for scoped variables in JS functions #7
Labels
breaking changes
The API will break if this issue or pull request is approved
Milestone
Currently, the scoped variables in JS functions are assignable. There is no reason to allow this behavior, the
const
keyword should used instead ofvar
in scoped variable declarations:https://github.com/nesk/rialto/blob/21a21181249ca0c09268c84fc93e2650849a37f1/src/node-process/Data/Unserializer.js#L48
The text was updated successfully, but these errors were encountered: