Skip to content

AhmadDaniel/jsdictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsdictionary

Javascript dictionary data structure

Initiation:

var mydictionary = new jsdictionary();

Add item:

mydictionary.add("color", "Blue");

Access the item:

var color = mydictionary["color"];

Methods:

mydictionary.containsKey("color");

mydictionary.containsValue("Red");

mydictionary.count();

mydictionary.remove("color");

mydictionary.clear();

About

JavaScript dictionary data structure

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published