mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
c9437d3226
swc: - Fix handling of `envs`. - Check for already fixed issues. (#2319)
8 lines
216 B
JavaScript
8 lines
216 B
JavaScript
function foo(l, r) {
|
|
var lightGreeting;
|
|
if (l > 0) var greeting = "hello";
|
|
else var greeting = "howdy";
|
|
return r > 0 && (lightGreeting = greeting.substr(0, 2)), lightGreeting;
|
|
}
|
|
module.exports = foo;
|