Easy inplement arrays

Usage no npm install needed!

<script type="module">
  import easyArraySytem from 'https://cdn.skypack.dev/easy-array_sytem';



  • 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


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!