python to javascript abdelwahed on November 27, 2020 Good morning gorgeous friends; is there any equivalent of this python expression in javascript l = [1, 2, 5, 4, 8] n = 5 print('yeah' if n in l else 'no') Thanks
`
EDIT: Never mind, the code below actually does something completely different. This is why I hate javascript ffs.