I have a variable containing a string. This string is itself the name of another object.
say
const myObject = {"some": "Object in JSON format"};
const myObjectName = 'myObject';
How can I use the string contained in the variable 'myObjectName' to call a function manipulating myObject?