@AbbydonKrafts said:
Side note: Why would anyone use JScript (do not confuse that with JavaScript) in ASP? If it's server side, why not just use VBScript?
In spite of its shortcomings, it is actually better than vbscript.
Off the top of my head:
- the ability to use try{...} catch{...}, instead of the abomination of "on error resume next"
- semi-object oriented. Custom JScript objects can make life a little easier. VBScript can't do it at all.
- Not forgiving of things like "domFoo" vs. "domFOO". Makes code a little cleaner (personal pet peeve.)
There are other reasons, but I can't be bothered to think of them right now. I'm only glad I don't have to maintain ASP code at all any more...
Also, there's no way to make VBScript not suck...