(node:32216) UnhandledPromiseRejectionWarning: TypeError: Cannot convert a Symbol value to a number
The Anti Tooling feature combines expressions and chooses a random unary operator (void, typeof, -, !, +, or ~) which can cause errors with symbols. Anti Tooling, which currently has no option to be turned off, should not use unary operators that perform numeric conversions to avoid this error from occuring. The other operators work correctly.
Describe the bug:
Anti Tooling breaks Symbols
Config and Small code sample
Config:
Code:
Output:
Error:
The Anti Tooling feature combines expressions and chooses a random unary operator (
void
,typeof
,-
,!
,+
, or~
) which can cause errors with symbols. Anti Tooling, which currently has no option to be turned off, should not use unary operators that perform numeric conversions to avoid this error from occuring. The other operators work correctly.