JS1257: Expando methods must be public
A method that has an expando modifier also has a visibility modifier that is not public. This is not allowed.
To correct this error
- Remove either the expando or visibility modifier from the method declaration.
Troubleshooting Your Scripts | JScript Reference | JScript Modifiers