You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reduce method on observable collection receives improper parameters when executing the callback.
The following code sample exposes the bug:
constobservableCollection=newObservableCollection<string>();observableCollection.push("one","two");observableCollection.reduce((result,item,index,collection)=>{// result is actually the item// item is actually the item index// index is actually the observable collection// collection is undefined// The result array is actually provided through the callback context},[]);
The text was updated successfully, but these errors were encountered:
The reduce method on observable collection receives improper parameters when executing the callback.
The following code sample exposes the bug:
The text was updated successfully, but these errors were encountered: