General syntax error

Discussion in 'Programming' started by krisov, Feb 24, 2010.

Remove these ads by signing in
Remove these ads by signing in
  1. krisov Banned

    Member Since:
    Jan 4, 2010
    Message Count:
    108
    Likes Received:
    0
    Occupation:
    Web Designer
    What are some of the general syntax errors that do occur in javascript.
  2. syeds New Member

    Member Since:
    Mar 22, 2010
    Message Count:
    24
    Likes Received:
    1
    i think u need to visit google.
  3. Zoli New Member

    Member Since:
    Jan 23, 2007
    Message Count:
    563
    Likes Received:
    37
    Location:
    Hungary
    Most of the time unexpectedly closed, or not closed, or incorrectly closed function arguments may cause issues. The console tab of the firebug might help a lot.
  4. SeoKungFu Active Member

    Member Since:
    Jul 10, 2009
    Message Count:
    603
    Likes Received:
    77
    Occupation:
    SEO Ninja
    There used to be script debugger that worked well with IE 6 that was allowing you not only to see the result of the error ( the error message itself ) but to even trace step by step the code. Yes, it was a bit more advanced as usage but it's sad that there is no such more modern implementation. Anyways, I keep using this from time to time, simply running the problem page/script into a IE 6 emulator and the instance of the debugger. Debuggers are quite old school but extremely powerful tools. Remind me of good old assembler debuggers like SoftICE...
  5. swg New Member

    Member Since:
    Apr 5, 2010
    Message Count:
    30
    Likes Received:
    0
    Forgetting closing brackets, incorrect arguments, incrorect type of brackets..
  6. Sanmpin Banned

    Member Since:
    Sep 16, 2010
    Message Count:
    34
    Likes Received:
    0
    There are so many areas where you can make a syntax error. For that you should write your program very carefully.
  7. hboss Member

    Member Since:
    Sep 20, 2011
    Message Count:
    57
    Likes Received:
    0
    Syntax errors refer to simple errors in code – for example, missing a parenthesis in an if statement for if variable==value) – which will trigger an error in the JavaScript interpreter.

Share This Page