Re: [heycam/webidl] Is a TypedArray a sequence? (#868)

Browsing this repository for what a sequence is, unless missing a critical part of what is being described, per https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator a `TypedArray` is an iterable that is converted to a sequence https://github.com/heycam/webidl/issues/325#issuecomment-294838251

> Any iterable that authors pass is converted to a `sequence<>`, with the checking of values done during the conversion.

Therefore it should not be necessary to do

`new Blob([TypedArray])`

for the `TypedArray` to not be converted to a string

`new Blob(TypedArray)`

should suffice for passing a [`ArrayBufferView`](https://heycam.github.io/webidl/#ArrayBufferView) that is should not be converted to a string when omitting array literal `[ArrayBufferView]` at `Blob` (and `File`) constructors?

-- 
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/issues/868#issuecomment-609452700

Received on Sunday, 5 April 2020 17:31:09 UTC