josdejong/mathjs
Remove support for Object literals as scope objects
Aperta
#2165 aperta il 10 apr 2021
featurehelp wanted
Metriche repository
- Star
- (15.065 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
PR #2166 adds a warning that support for bare objects as scopes will be removed in a future release.
This issue is for the removal of support, in that future release.
const scope = {}
math.evaluate("constructor(foo) = foo", scope)
should error.