27
devmg
5y

When I slice the head off a list I usually call the rest decapitated.

const [head, ...decapitated] = myList

Comments
  • 3
    @Letmecode haha that makes me think of a hydra that needs taming. Code should tell a story, so I like where it's going!
Add Comment