Hex Editor - Binary File Editing Software for Windows
Download Hex Editor Neo Hide this button

return Statement

return statement has the following syntax:

return expr;

Evaluates the passed expression and sets the current native function's return value. It also exits the current function. If used outside the function body, an exception is generated.

function square(x)
{
    return x * x;
}