45 lines
765 B
JavaScript
45 lines
765 B
JavaScript
compose(
|
|
sortBy(x => x),
|
|
flatten,
|
|
map(x => [x, x*2])
|
|
);
|
|
|
|
somelib.compose(
|
|
sortBy(x => x),
|
|
flatten,
|
|
map(x => [x, x*2])
|
|
);
|
|
|
|
composeFlipped(
|
|
sortBy(x => x),
|
|
flatten,
|
|
map(x => [x, x*2])
|
|
);
|
|
|
|
somelib.composeFlipped(
|
|
sortBy(x => x),
|
|
flatten,
|
|
map(x => [x, x*2])
|
|
);
|
|
|
|
// no regression (#4602)
|
|
const hasValue = hasOwnProperty(a, b);
|
|
|
|
this.compose(sortBy(x => x), flatten);
|
|
this.a.b.c.compose(sortBy(x => x), flatten);
|
|
someObj.someMethod(this.field.compose(a, b));
|
|
|
|
class A extends B {
|
|
compose() {
|
|
super.compose(sortBy(x => x), flatten);
|
|
}
|
|
}
|
|
|
|
this.subscriptions.add(
|
|
this.componentUpdates
|
|
.pipe(startWith(this.props), distinctUntilChanged(isEqual))
|
|
.subscribe(props => {
|
|
|
|
})
|
|
)
|