New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@micro-js/concat

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@micro-js/concat

Functional version of Array.prototype.concat

1.0.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

concat

Build status Git tag NPM version Code style

Functional version of Array.prototype.concat

Installation

$ npm install @micro-js/concat

Usage

var concat = require('@micro-js/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

FAQs

Package last updated on 12 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts