mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
5ce4e1e927
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>; } ```
6 lines
61 B
JavaScript
6 lines
61 B
JavaScript
function a() {
|
|
with ((a(), void 1)){
|
|
// code
|
|
}
|
|
}
|