Follow

const arr1 = [1, 2, 3]
const arr2 = [4, 5, 6]
// arr1 + arr2 => '1, 23, 4'

I keep forgetting how JS under the hood tends to convert primitives for this sort of operation. Took me a while to figure out track down this trash of a bug I made.

Sign in to participate in the conversation
mastchan

An experimental instance for software development and memes and pretty much anything and everything.