Strong Map
This library is made to extend the functionality of Javascript's Map to solve common problems.
What more?
get
function
Improved If you usually use the Map objeasdct in your life and you have used objects like keys, sure that you are been frustrated with the .get
method because you only can get a value if the key is THE SAME object, referenced. With this library this doesn't happen, for example:
const StrongMap = ; // With Vanilla Mapconst map = 'Javascript' 'Good' lang: 'PHP' 'Bad'; let js = map;let php = map;console; // Goodconsole; // undefined // With StrongMapconst strongMap = 'Javascript' 'Good' lang: 'PHP' 'Bad'; js = strongMap;php = strongMap;console; // Goodconsole; // Bad