mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
3d271e82a2
**Description:** This PR fixes the logic for dropping return values of IIFE. **Related issue:** - Closes https://github.com/swc-project/swc/issues/6141.
6 lines
115 B
JavaScript
6 lines
115 B
JavaScript
console.log("Greeting:", (function (value) {
|
|
return function () {
|
|
return value;
|
|
};
|
|
})("Hello")());
|