2.0.0 • Published 5 years ago

easy-array_sytem v2.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
5 years ago

Funktionen

  • generate(array) = add to arrays the content of array. Example: generate({name: "hai", testid: 3}); adds the content {name: "hai", testid: 3} at last
  • readall() = Become the full array
  • read(idno) = Read content of id. Example: read(3) reads the content of array 3
  • change(idno, array) = Chnge content of id (idno) to array

Examplefile

const arrays = require('easy-array_sytem'); arrays.generate({name: "Haifisch", Adresse: "ocean", id: 2}); arrays.generate({name: "Leopard", Adresse: "not available", id: 1}) console.log(arrays.read(0)); console.log(arrays.readall()); arrays.changee(1, 'Adresse', "'afrika'") console.log(arrays.readall()); console.log(arrays.reade(0, "name"));


To start a array you must give in changee when you giva a number if the number 2 the following: "2" and thats rule is for all numbers!

2.0.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago