I discovered recently that one part of the Pusher javascript library does basically this (using arrays of javascript strings, just as in the article). And this isn&#x27;t test code, it&#x27;s the actual code they use for connection fallback logic. Utterly bizarre.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;pusher&#x2F;pusher-js&#x2F;blob&#x2F;2.2&#x2F;src&#x2F;defaults.js#L87" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pusher&#x2F;pusher-js&#x2F;blob&#x2F;2.2&#x2F;src&#x2F;defaults.js...</a><p>parser in <a href="https:&#x2F;&#x2F;github.com&#x2F;pusher&#x2F;pusher-js&#x2F;blob&#x2F;2.2&#x2F;src&#x2F;strategies&#x2F;strategy_builder.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pusher&#x2F;pusher-js&#x2F;blob&#x2F;2.2&#x2F;src&#x2F;strategies&#x2F;...</a>