@revtm/tukar

2.0.3 • Public • Published

Js function to switch two values of index 0 and 1 in an 1-D array!

How To:

var {changePos} = require("@revtm/tukar");

var x = [1,2];
var y = changePos(x);
console.log(y); //[2,1]

Readme

Keywords

none

Package Sidebar

Install

npm i @revtm/tukar

Weekly Downloads

1

Version

2.0.3

License

MIT

Unpacked Size

693 B

Total Files

3

Last publish

Collaborators

  • revtm