i got the following error when i compressed my javascript code.
A:
Try to use JSLint, it is a series of checks that parse your Javascript and look for potential problems.
At the beginning, it is painful to use as many errors appear.
But then, it becomes a very useful safety net, to write solid JS that compress well.
And usually it can be easily integrated in your IDE so you forget it.
eg: It can check the JS each times you save the file.
Mic
2010-09-26 20:32:18