Why are non-language related global objects included in JavaScript?
<p>I was reading Definitive JavaScript by Flanagan where he lists all JavaScript Global Objects defined by the language.</p>

<p>However 5 (of about 20) of these seem to be non-language related:</p>

<pre><code>decodeURI
encodeURI
decodeURIComponent
encodeURIComponent
JSON
</code></pre>

<p>Why are these considered part of the language when URI and JSON are more of a browser-server thing?</p>

<p><strong>Reference</strong></p>

<p><a href="http://stackoverflow.com/questions/747641/what-is-the-difference-between-decodeuricomponent-and-decodeuri">Difference between decodeURI and decodeURIComponent</a></p>
