项目作者: favecod

项目描述 :
This code used for mixing array
高级语言: JavaScript
项目地址: git://github.com/favecod/mix-array.git
创建时间: 2018-07-04T13:31:05Z
项目社区:https://github.com/favecod/mix-array

开源协议:MIT License

下载


license

Mix Array

This code used for mixing array.

Demo

Before mixing

After mixing

How to use?

For example, we first define an array.

  1. let array = [1,2,3,4,5,6]

Then we create a new class of mix and pass the array to it.

  1. new Mix(array)

Mixed array is ready for use!

  1. [6,3,5,1,4,2]

License

MIT

Copyright (c) 2018 Mohammad Mehdi