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
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
For further actions, you may consider blocking this person and/or reporting abuse
Ihtisham-Ul-Haq Shami (Fa-2022-BSCS-246) -
Hiswill Thompson -
Super Kai (Kazuya Ito) -
Aditya Pratap Bhuyan -
Top comments (2)
`
EDIT: Never mind, the code below actually does something completely different. This is why I hate javascript ffs.