UNPKG

@extra-array/head

Version:
6 lines (3 loc) 83 B
const array = require("extra-array"); array.head([1, 2, 3]); array.head([], -1);