mirror of
https://github.com/flynx/types.js.git
synced 2025-10-28 10:00:08 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8b008d24f2
commit
6a73b77fc0
@ -79,7 +79,7 @@ function(list){
|
||||
return list
|
||||
.then(function(list){
|
||||
return pack(list) }) }
|
||||
// generator list...
|
||||
// generator list... (XXX do a better test...)
|
||||
if(typeof(list) == 'object'
|
||||
&& Symbol.iterator in list){
|
||||
list = [...list] }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user