of(2, 1, 4).pipe(take(2)) .subscribe(console.log); // prints 2 1. As you can see, only two values are allowed after this operator, even though the source ...
確定! 回上一頁