Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 130 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 130 Bytes

Prepend

Adds a value to the beginning of a list and returns a new list.

Usage

const newlist = prepend(4, [1,2,3])