swc/crates/swc_ecma_minifier/tests/fixture/issues/7009/output.js

11 lines
425 B
JavaScript

export const example1 = (param)=>(param)=>param["There is something wrong!"];
export const example2 = (param)=>(param)=>param["123 is fine"];
export const example3 = (param)=>(param)=>param["! That is fine !"];
export const example4 = (param)=>(param)=>param[" space in start works fine"];
export const example5 = (param)=>(param)=>param[123];
export class Foo extends Bar {
foo() {
super["a space b"]();
}
}