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
From a semantic perspective, the GetFirst method returns the first element in the array that has properties which match all of those specified in the compare object and the GetLast method returns the last element in the array that has properties which match all of those specified in the compare object. But their source codes are the same now.
The GetLast function code is incorrect.
Example Test Code
Additional Information
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue, and for submitting a PR to fix it. We have merged your PR into the master branch and attributed the work to you in the Change Log. If you need to tweak the code for whatever reason please submit a new PR.
Version
Description
From a semantic perspective, the GetFirst method returns the first element in the array that has properties which match all of those specified in the compare object and the GetLast method returns the last element in the array that has properties which match all of those specified in the compare object. But their source codes are the same now.
The GetLast function code is incorrect.
Example Test Code
Additional Information
The text was updated successfully, but these errors were encountered: