Is it normal to be able to see JavaScript in page source?
<p>I understand that scripting language such as PHP will not be shown in the page source of the browsers. Is it not the same for JavaScript?</p>

<p>If so, why are they treated differently and are there solutions available to hide JavaScript from page source (revealed by browser)?</p>

<p>I don't need the details about how exactly to hide it, just out of my curiosity if it has been worked on.</p>

<p>Thanks!</p>
