mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
* feat(FunctionNode): allow function parameters to be called This change is implemented by checking if a function symbol is in the arg list, and if so delaying its analysis until evaluation time, at which point it is extracted from the arguments and called as appropriate depending on its rawArgs property. Also adds a few tests, documents the new facility, and documents the handling of free variables in a function definition, which was previously left undescribed. Resolves #2441. Resolves #2442. * chore: correct lint violations (sorry) Co-authored-by: Jos de Jong <wjosdejong@gmail.com>