Skip to content
This repository was archived by the owner on Apr 17, 2022. It is now read-only.

Sharkbyteprojects/easy-array-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Funktionen

AZURE TEST

  • 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!

About

Easy array system to implement in node.js scripts

Resources

License

Stars

Watchers

Forks

Packages

No packages published