UNPKG

@extra-array/infixes

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