{"version":"1.0","type":"rich","title":"Gist from mistakes.io","description":"This example demonstrates how to extend a plain JavaScript object with properties and methods from another object using a custom `extend` function. It shows the result of merging an `obj1` object—containing a `name`, a `value`, and a `multiply` method—into an empty `data` object, then invoking the merged method to compute a calculated return value. The code relies on native JavaScript array methods (`Array.prototype.slice`, `forEach`) and object property assignment, with no external libraries or rendering APIs. The visualization is purely computational, displaying the numeric output of the method call.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-9129078?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}