switch.js 191 B

12345678910
  1. import { Command } from './command';
  2. export class Switch extends Command {
  3. constructor (expression, cases) {
  4. super();
  5. this.expression = expression;
  6. this.cases = cases;
  7. }
  8. }