Question about pattern

Eric Suen at
Thu Aug 23 05:11:05 PDT 2007


Pattern ::= ArrayPattern
Pattern -> SimplePattern -> LeftHandSideExpression -> ArrayLiteral

Is it possible ArrayLiteral appear in Pattern, or it must be an
ArrayPattern? Like ExpressionStatement can't have FunctionExpression
and ObjectLiteral? Same question about ObjectPattern and ObjectLiteral



Spket IDE - Development Tool for RIA.

More information about the Es4-discuss mailing list