Fix #1399: Propagate closure params in JSDesugar environment
Merge pull request #1401 from gzm0/fix-desugar

Fix #1399: Propagate closure params in JSDesugar environment