You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @property {ESTree.Identifier | ESTree.MemberExpression} node The node the destructuring path end in. Can be a member expression only for assignment expressions
228
228
* @property {boolean} is_rest `true` if this is a `...rest` destructuring
229
229
* @property {boolean} has_default_value `true` if this has a fallback value like `const { foo = 'bar } = ..`
230
-
* @property {ESTree.Expression} expression Returns an expression which walks the path starting at the given expression.
230
+
* @property {ESTree.Expression} expression The value of the current path
231
231
* This will be a call expression if a rest element or default is involved — e.g. `const { foo: { bar: baz = 42 }, ...rest } = quux` — since we can't represent `baz` or `rest` purely as a path
232
232
* Will be an await expression in case of an async default value (`const { foo = await bar } = ...`)
233
233
* @property {ESTree.Expression} update_expression Like `expression` but without default values.
0 commit comments