We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
arguments
1 parent a38797c commit 61263efCopy full SHA for 61263ef
crates/swc_ecma_compat_es2015/src/spread.rs
@@ -288,9 +288,7 @@ impl Spread {
288
// https://github.com/babel/babel/blob/61ad8555b875cb0c0996f18f803b6bf1d2150173/packages/babel-plugin-transform-spread/src/index.ts#L43-L47
289
let expr = match *expr {
290
Expr::Ident(Ident { ref sym, ctxt, .. })
291
- if &**sym == "arguments"
292
- && (ctxt == self.unresolved_ctxt
293
- || ctxt == SyntaxContext::empty()) =>
+ if &**sym == "arguments" && ctxt == self.unresolved_ctxt =>
294
{
295
CallExpr {
296
span,
0 commit comments