Skip to content
Node.js | Clones an array of arrays.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
.travis.yml
LICENSE.txt
README.md
index.js
package-lock.json
package.json

README.md

Build Status Coverage Status JavaScript Style Guide

clone-array-of-arrays

Clones an array of arrays.

Node Repository

https://www.npmjs.com/package/@pelevesque/clone-array-of-arrays

Installation

npm install @pelevesque/clone-array-of-arrays

Tests

Standard Style & Unit Tests

npm test

Unit Tests & Coverage

npm run cover

Usage

const cloneArrayOfArrays = require('@pelevesque/clone-array-of-arrays')
const arrayOfArrays = [[0, 0], [0, 1], [0, 2]]
const result = cloneArrayOfArrays(arrayOfArrays)
// result === [[0, 0], [0, 1], [0, 2]]
You can’t perform that action at this time.