swc/ecmascript/codegen/tests/references/2c5f4d039f9c7740.js
강동윤 5ce4e1e927
fix(es/parser): Use correct position for comments (#1527)
swc_ecma_parser:
 - Use correct position for comments in

```ts
function Bar() {
  const [foo, setFoo] = useState(0);
  React.useEffect(() => {
    // @refresh reset
  });
  return <h1>{foo}</h1>;
}
```
2021-03-31 19:30:05 +09:00

6 lines
61 B
JavaScript

function a() {
with ((a(), void 1)){
// code
}
}