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
Okoye Ndidiamaka -
Simon Green -
Абдумомин -
Kiran Fatima -
Top comments (2)
`
EDIT: Never mind, the code below actually does something completely different. This is why I hate javascript ffs.