Currently, the unary minus operation is not supported by the MCE with only binary minus being supported.
For example, parse_and_eval("-1;"); gives the following error: Expected number on right hand side of operation, got undefined. This is a result of the second number argument not being received by the minus primitive function.
Currently, the unary minus operation is not supported by the MCE with only binary minus being supported.
For example,
parse_and_eval("-1;");
gives the following error:Expected number on right hand side of operation, got undefined.
This is a result of the second number argument not being received by the minus primitive function.