UNPKG

@extra-array/unshift

Version:
11 lines (10 loc) 187 B
'use strict'; function concat$(x, ...ys) { for (var y of ys) x.push(...y); return x; } function unshift(x, ...vs) { return concat$(vs, x); } module.exports = unshift;