swc/ecmascript/minifier/tests/terser/compress/harmony/class_extends/input.js

10 lines
252 B
JavaScript
Raw Normal View History

function f() {
class foo extends bar {}
class pro extends some.prop {}
class arr extends stuff[1 - 1] {}
class bin extends (a || b) {}
class seq extends (a, b) {}
class ter extends (a ? b : c) {}
class uni extends (!0) {}
}