Ashci42 opened a new issue, #37063: URL: https://github.com/apache/arrow/issues/37063
### Describe the bug, including details regarding any error messages, version, and platform. The [implementation](https://github.com/apache/arrow/blob/main/js/src/vector.ts#L198) for `includes` in the `Vector` class seems to have a minor bug: the comparison will return false if argument is the first element (element at index 0). Example code: ```javascript import {vectorFromArray} from 'apache-arrow'; const arr = [1, 2, 3]; const v = vectorFromArray(arr); console.log(v.includes(1)); // false console.log(v.indexOf(1)); // 0 ``` ### Component(s) JavaScript -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
