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
AIRabbit -
Abhay Singh Kathayat -
Abhay Singh Kathayat -
Taki089.Dang -
Top comments (2)
`
EDIT: Never mind, the code below actually does something completely different. This is why I hate javascript ffs.