how to make javascript secure

There is always a question arises in my mind that is my javascript source is secure or not? 

Since anyone on the net can include my page, and then can do brute force attack(there are many php functions that allows this thing). 
Now to secure this thing you can create the classes and then use the objects i.e. the OOPs concept in javascript or can have JS functions created with constraint check. 
0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments