function broken(x, ...foo) { if (true) { class Foo extends Bar { } return hello(...foo) } }