end

Marks the end of a handler.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

end

# Examples

end thisFunction

# Description

The last line of a handler of any kind always begins with the end keyword, followed by the name of the handler.

# Tags

# See

- **keyword:** end switch, end try, end if, end repeat - **constant:** EOF - **glossary:** keyword, handler, control structure - **control structure:** pass, on, setProp, getProp, function