JavaScript Editor Ajax toolkit     Ajax website 

Main Page

An expression attempted to return a value from a constructor or a void function. Constructor functions automatically return a pointer to the constructed function; they do not return a value. Functions that are defined with the void return type cannot return a value.

To correct this error

  1. Remove the return statement.

  2. Specify a non-void return type for the function.

See Also


function Statement
return Statement


Troubleshooting Your Scripts

Other Resources

JScript Reference

JavaScript Editor Ajax toolkit     Ajax website