#1. Use the internet to your advantage!
#2. Utilize tips to increase code performance
#3. Use closures
Keeping your code safe from being modified or changed by any other script/library can be achieved by closures. By default, the global scope is assigned to any function that is defined on the page level. The same goes for variables, too. Therefore, using closures is a safe method to keep your code from being accidentally messed with by other scripts. This comes in handy when two or more functions or variables are using the same names, which might be too common to avoid.
#4. Make use of correct libraries!
#5. The ‘var’ situation
#6. Build your own projects
There’s no better way to improve your skills at a language than by building your own projects. There are tons of simple and advanced ideas available on the internet to help you get started. As you build projects, you encounter problems that you need to solve in order to get things to work. This is the true learning experience when it comes to a language, providing the best hands-on problem solving that one could ask for. As you write more and more code, watch how your skills touch the sky!
#7. Practice, practice, and practice!