Got a simple object (demo purposes only) and want to return values using a function but having major issues getting it to work. Here is the code and error I get:
It’s just an object of objects. Objects are a collection of properties and properties are key/value pairs. Object keys are strings. You can call it a hash map/table/whatever, but it is still just an object in JS.
There is also Map and Set (and the Weak versions).