type of girl who thinks javascript array literals were a mistake

Follow

the one thing array literals get you that Array.of() doesn’t is sparse arrays

but there’s always Array.from({ 2: "thing", length: 3 }) for the sickos

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.