Skip to content

console doesn't work in web workers #411

Closed
@japgolly

Description

@japgolly

Using console from a web worker results in an exception:

Uncaught TypeError: Cannot read property 'console' of undefined"

Probably because window isn't defined. console does exist in the global scope (and also under self in that self.console exists).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions