JS1169: Expression has no effect

An expression returns a value that is never used.

To correct this error

  1. Remove the expression.

  2. Use the value of the expression as the argument for a function or operator.

See Also

Concepts

Troubleshooting Your Scripts

JScript Expressions

Other Resources

JScript Reference