simplifyConstant

simplifyConstant(expr)

simplifyConstant(expr, options)

Replace constant subexpressions of node with their values.

Try it yourself:

See also:
All functions