SyntaxFix
Write A Post
Hire A Developer
Questions
const extend = function*(ls,xs){ yield* ls; yield* xs; } console.log( [...extend([1,2,3],[4,5,6])] );