- From: Boris Zbarsky <bzbarsky@mit.edu>
- Date: Mon, 16 Feb 2015 16:11:49 -0500
- To: Paul LeBeau <paul.lebeau@gmail.com>, Erik Dahlström <ed@opera.com>
- CC: www-svg <www-svg@w3.org>
On 2/16/15 1:49 PM, Paul LeBeau wrote: > I'm not very familiar with how WebIDL constructs map to JS. Does a > sequence<T> map to an array, or something similar to an HTMLCollection? Converting a sequence<T> to a JS value (e.g. for a sequence<T> return value) produces an ES Array. Converting a JS value to a sequence<T> (e.g. for a sequence<T> argument) iterates the JS value and converts each value returned by the iterator to type T. -Boris
Received on Monday, 16 February 2015 21:12:19 UTC