return CommandThe return command returns a value from a function or stops an event handler from continuing. You can use exit to return without a value.
<script type="text/hyperscript">
-- return the answer
def theAnswer()
return 42
end
</script>
return <expression>
exit