Loads a local JavaScript file to your app to make its functionality available in your app.

app.Script( file, noDefer )

By default it is loaded just before OnStart is being called unless you set “NoDefer” to true which forces inline loading.
This is to ensure errors are highlighted correctly in external source files.

See Also: LoadScript

Example - Deferred Loading (recommended) click to expand contents 

Example - Inline Loading click to expand contents