Re: [heycam/webidl] Disallow -0 in algorithm for checking array index (#517)

Wouldn't just changing step 4 from:

```
If |index| is less than 0 or is greater than or equal to 2<sup>32</sup> − 1, then return false .

```
to:

```
If |index| is not in the range +0 ≤ |index| < 2<sup>32</sup> − 1, then return false.
```

Maybe we could also mention -0 in the note right below, or just say that the range corresponds to the range of supported array indices in ECMAscript.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/517#issuecomment-361863568

Received on Wednesday, 31 January 2018 08:48:40 UTC