Closed senocular closed 2 years ago
This is consistent with Array.from where Array.from([], ()=>{throw 1}) will not throw but Array.from([1], ()=>{throw 1}) will.
Array.from([], ()=>{throw 1})
Array.from([1], ()=>{throw 1})
This is consistent with Array.from where
Array.from([], ()=>{throw 1})
will not throw butArray.from([1], ()=>{throw 1})
will.