W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2013

[Bug 20560] misplaced comma

From: <bugzilla@jessica.w3.org>
Date: Mon, 14 Jan 2013 03:18:58 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20560-3890-1XoRX5oSBe@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:08 UTC