rxjs: от использования
foo = [1, 2, 3, 5];
fooCopy = [];
fromFoo() {
from(this.foo).subscribe(i => this.fooCopy.push(i));
}
Average Angelfish
foo = [1, 2, 3, 5];
fooCopy = [];
fromFoo() {
from(this.foo).subscribe(i => this.fooCopy.push(i));
}