Re: [w3c/IndexedDB] Replace abrupt completion asserts/returns with !? shortcuts from ES spec (#100)

domenic commented on this pull request.



> @@ -5679,39 +5674,34 @@ steps may throw an exception.
       <dt>If IsArray(|input|)</dt>
       <dd>
 
-        1. Let |len| be the ToLength(Get(|input|,
+        1. Let |len| be [=!=] ToLength(Get(|input|,

Nah, consider the following:

```js
class EvilArray extends Array {
  get length() { /* as before */ }
}
```

Such objects will pass IsArray.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/pull/100

Received on Thursday, 20 October 2016 18:34:12 UTC