Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No not necessarily, and if it is, it's bad practice.

Client-side js will always be readable, even if you obfuscate it, you can't trust it to never being decompiled.

But server-side js never has to reach the client, it can be used to dynamically generate basically anything.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: