title: How to create a new object with the variable value
body: <p>I have many objects for example lets say one of the object name is flipkart</p>
  <pre><code>let flipkart = function() {
    this.name = 'flipkart'
    // other functionality....
  }
  
  flipkart.prototype.someFunction = function(someValue) {
      console.log(someValue);
  };
  </code></pre>
  <p>this is what I am trying to do I get the object names in variable lets say</p>
  <pre><code>let myVariable = 'flipkart';
  </code></pre>
  <p>I want to create a new object or access flipkart object which is already created.</p>
  <pre><code>const objFlipkart = Object.create(myVariable);
  
  objFlipkart.someFunction('someValue');
  </code></pre>
  <p>Is there any way to get this working.</p>