https://github.com/bmeurer/terser-return-position
Repro for Terser compression issue with return position
https://github.com/bmeurer/terser-return-position
Last synced: over 1 year ago
JSON representation
Repro for Terser compression issue with return position
- Host: GitHub
- URL: https://github.com/bmeurer/terser-return-position
- Owner: bmeurer
- Created: 2022-03-10T07:28:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-10T09:42:00.000Z (over 4 years ago)
- Last Synced: 2025-01-22T21:32:05.588Z (over 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Repro for terser return compression issue
Start via
```
npm install
npm run build
npm start
```
then open http://localhost:3000 in Chromium, open DevTools,
locate `input.js` and set a breakpoint on line 2, go to the
Console and run `testFunction()` and click StepOver twice.
In the Sources panel in DevTools it will look like the execution
was paused on `obj.x` property access, but the Console already
shows `1` being logged and the Scope view in the sidebar shows
that the JS engine is really paused on the return position.