needles icon indicating copy to clipboard operation
needles copied to clipboard

Is the fall through essential here?

Open adityashaw2 opened this issue 1 year ago • 3 comments

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?

adityashaw2 avatar Feb 09 '23 08:02 adityashaw2