CodeClerks

What are some common mistakes you can make in Javascript?



Write the reason you're deleting this FAQ

What are some common mistakes you can make in Javascript?

What are the most common Javascript mistakes and how do you avoid them?

Comments

Please login or sign up to leave a comment

Join
jakemadness
One I make often is I place a "." instead of a "+" this is because I'm used to coding php more than javascript, Once I make this mistake because of the amount of lines I have coded it takes a while to find my error.



Are you sure you want to delete this post?

shek
Most common mistake is not checking for null condition for a variable and using it in your script!



Are you sure you want to delete this post?

Jaredseven
Well, I find that when I start typing really fast, I make a lot of mistakes. You can avoid this by typing slowly or just keeping your eyes on your screen to see if you mess anything up.



Are you sure you want to delete this post?

Jadster
My common mistake is I misread the instructions of what I am asked to code or I will just type way too fast and then I will suddenly get an error message when I try to use the code and then have to go back and figure out where I went wrong.



Are you sure you want to delete this post?

Everett
One I make often is I place a "." instead of a "+" this is because I'm used to coding php more than javascript, Once I make this mistake because of the amount of lines I have coded it takes a while to find my error.


Haha.. Same here. But on such a beginner at javascript What are some common mistakes you can make in Javascript?



Are you sure you want to delete this post?

jakemadness
Haha.. Same here. But on such a beginner at javascript What are some common mistakes you can make in Javascript?

For me I find using Jquery easier than Javascript but with javascript you can run it straight in the users browser with no library. When coding Jquery and Javascript the main proportion of my script would be Javascript and awesome effects in Jquery.



Are you sure you want to delete this post?

ultimate
" ; " are the killers of any programming language.
My second one is same as @jakemadness stated. Using "." instead of "+" because of PHP love.



Are you sure you want to delete this post?

Beverly
At the moment, I don't code in javascript, so I'm sure I would make many mistakes. Though I like learning new things, even coding. It will be a fun challenge to learn how to code in javascript.



Are you sure you want to delete this post?