Question about pattern

Eric Suen eric.suen.tech at gmail.com
Thu Aug 23 05:11:05 PDT 2007


Hi,

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

Regards,

Eric

------------------------------------------------
Spket IDE - Development Tool for RIA.

http://www.spket.com



More information about the Es4-discuss mailing list