[Bug 20560] misplaced comma

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20560

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Cameron McCormack <cam@mcc.id.au> ---
I try to avoid variable declarations that are not at the beginning of the step,
since "let" implies a scope to me that would be defeated by if the "if"
statement around it.  So if anything I would reword it as:

  Let length be a value determined based on the type of V:
    -- a platform object that supports indexed properties
         The value is one greater than V's maximum indexed property index.
    -- otherwise
         The value is the result of calling [[Get]] on V with property name
         "length".

But I don't think it's particularly unclear at the moment.  There are plenty of
other instances of "x, if y, otherwise z" in the spec.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 14 January 2013 03:19:02 UTC