{"version":"1.0","type":"rich","title":"JS Bin","description":"This example demonstrates asynchronous search result caching using JavaScript callbacks and the sessionStorage API. It shows how a search function returns random results with random delays, while a wrapper function caches the first response per search term and serves consistent results on subsequent calls. The code uses setTimeout for asynchronous behavior, Math.random for generating random values, and updates the display via the DOM API (querySelector and textContent). Results are displayed in a pre element, and the console logs each display event.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-2ac7816bd64744fea9c6fea0398cccac?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}