Follow

Cursed valid JavaScript of the day:

array[0.5] = "oh no";
console.debug(array);
// output: [ "0.5": "oh no" ]

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
C.IM

C.IM is a general, mainly English-speaking Mastodon instance.