Here is part of the universal Disqus code:
var disqus_config = function () { this.page.url = PAGE_URL;
What I donβt understand is how Disqus handles this function because page is undefined , so we cannot access the identifier or url . I checked a few examples:
disqus_config(); console.log(disqus_config.page); var a = new disqus_config();
But I still don't understand how Disqus handles this undefined element.
source share