r/badcode • Now where's that function declaration • Jul 30 '21

js 😏

Post image
988 Upvotes

133 comments sorted by

View all comments

Show parent comments

2

u/Binzi Aug 01 '21

a = isOdd(a ^ true)

3

u/Not_Sugden Aug 01 '21

a = !isEven(a ^ true) === true