0
I have some Javascript functions in my pages that were previously inserted directly into jsp, within the tags <script>
. I later changed them to a.js file where I just import the functions. I wonder if there is a better way to hide such functions, making it difficult for the user to find them.
No, at most you can use uglify to make it difficult to read javascript. If you have some code that should not be exposed in the client do it in the backend and not on the front.
– Vinicius Zaramella
Ask "hints" avoid words like "better" because it will end up in the subjectivity of "based on opinions" and your question may end up being closed
– SneepS NinjA