@f/concat

1.1.1 • Public • Published

concat

Build status Git tag NPM version Code style

Functional version of Array.prototype.concat

Installation

$ npm install @f/concat

Usage

var concat = require('@f/concat')

concat([1], [2] // -> [1, 2]
concat([1], 2)  // -> [1, 2]

API

concat(a, b)

  • a - Array
  • b - Array or scalar value to concat onto a

Returns: A new array with btacked onto the end of a.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @f/concat

Weekly Downloads

1

Version

1.1.1

License

MIT

Last publish

Collaborators

  • f