ForkJoin Issue on angular
问题 I make this code for test forkJoin but it does not work! Can you check what is the problem? const observables = []; observables.push(new Observable(subscriber => subscriber.next('Hello'))); observables.push(new Observable(subscriber => subscriber.next(' '))); observables.push(new Observable(subscriber => subscriber.next('World') )); observables.push(new Observable(subscriber => subscriber.next('!'))); forkJoin(observables).subscribe(word => console.log(word.join(''))); 回答1: Try this const