Birdwatch Note Rating
2023-09-29 11:42:27 UTC - SOMEWHAT_HELPFUL
Rated by Participant: 2DC08DFB24F0AC391A7E26B1B4297C66A3D8D74C6E3D97E63D1063984271E0EB
Participant Details
Original Note:
`in` operator checks if the specified property is in the specified object [...] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/in Array [1,2,3,4] is an object {0: 1, 1: 2, 2: 3, 3: 4, length: 4} Doing `k in l` is checking if l has something on prop k l[0] === 1 l[4] === undefined 'length' in l === true To check values: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes
All Note Details