Yields iterator producing concatenation of given iterables. Undefined & null inputs are silently ignored, however any such values produced or contained in an input will remain.
[...concat([1, 2, 3], null, [4, 5])] // [ 1, 2, 3, 4, 5 ] [...concat([1, 2, 3, undefined], null, [4, 5])] // [ 1, 2, 3, undefined, 4, 5 ]
-
Generated using TypeDoc
Yields iterator producing concatenation of given iterables. Undefined & null inputs are silently ignored, however any such values produced or contained in an input will remain.
[...concat([1, 2, 3], null, [4, 5])] // [ 1, 2, 3, 4, 5 ] [...concat([1, 2, 3, undefined], null, [4, 5])] // [ 1, 2, 3, undefined, 4, 5 ]