title: There is a way to create a generic function for literal Object?
body: <p>I would like to create a function that can be used by every of my literal object and refer to the <code>caller</code> with <code>this</code> argument.</p>
  
  <p>Something like that:</p>
  
  <pre><code>const literalObject = { 
      "value" : "string"
  }
  
  const genricFunction = () =&gt;{
      console.log("value : ",this.value)
  }
  
  literalObject.genricFunction()
  </code></pre>