You are looking at preliminary documentation for a future release.
Not what you want? See the
current release documentation.
Scriptsedit
Scripts are composed of one-to-many statements and are run in a sandbox that determines what local variables are immediately available along with what APIs are allowed.