P. 1
ECMA-262 JavaScript 5

ECMA-262 JavaScript 5

|Views: 218|Likes:
Published by GregoryDonaghy

More info:

Published by: GregoryDonaghy on Mar 12, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/16/2013

pdf

text

original

The production PostfixExpression : LeftHandSideExpression [no LineTerminator here] -- is evaluated as follows:

1. Let lhs be the result of evaluating LeftHandSideExpression.
2. Throw a SyntaxError exception if the following conditions are all true:

Type(lhs) is Reference is true

© Ecma International 2009

69

IsStrictReference(lhs) is true

Type(GetBase(lhs)) is Enviroment Record

GetReferencedName(lhs) is either "eval" or "arguments"
3. Let oldValue be ToNumber(GetValue(lhs)).
4. Let newValue be the result of subtracting the value 1 from oldValue, using the same rules as for the -
operator (11.6.3).
5. Call PutValue(lhs, newValue).
6. Return oldValue.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->