lookups
A datastructure which allows you to use any Javascript value as a key. Keys can be Objects, Functions, Numbers, Strings.
Usage
Example:
var lookups = ; var keyObject = 'something': 'someValue' ;var {};var keyString = 'something';var keyNumber = 123;var {}; var collection = keyObject true keyFunction 123 keyString {} keyNumber 'hell world'; collection; // will return 'something new'collection; // will return the object { 'something': 'someValue' }collection; // will delete and return 'something'
License
MIT, see LICENSE.md for details.