1.1.1 • Published 8 years ago

@f/concat v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 years ago

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