Skip to content

Job writing guide: explain more about why you can't do regular js at the top #605

Open

Description

@josephjclark

The job writing guide doesn't really explain that regular JS function calls at the top level don't work. You can't do console.log, for example, unless inside an operation.

We might also list what statements you can put at the top (basically variable declarations) and which you can't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions