Skip to content

Is the fall through essential here? #3

@adityashaw2

Description

@adityashaw2

The following switch case has no break statement at the end.

https://github.com/domchristie/needles/blob/master/dist/needles-worker.js#L285-L286

    case 'set':
      this[event.data.key] = event.data.value; // <-- after this statement
    case 'record':

Is it intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions