@aburtang to Programmer Humor@lemmy.ml • 15 days agoEvil Onesimagemessage-square77arrow-up11.02Karrow-down130
arrow-up1986arrow-down1imageEvil Ones@aburtang to Programmer Humor@lemmy.ml • 15 days agomessage-square77
minus-square@Black616Angel@discuss.tchncs.delinkfedilink7•15 days agoI learned today, that in JavaScript [2,-2,6,-7].sort() results in [-2,-7,2,6]
minus-square@zqwzzle@lemmy.calinkfedilinkEnglish4•15 days agoWTF is it casting it to string or something?
I learned today, that in JavaScript
[2,-2,6,-7].sort()
results in
[-2,-7,2,6]
WTF is it casting it to string or something?
You can bet your pants it does!
This 💩 is 🍌s
baNaNas