I saw this and was instantly struck by it's resemblance to ColdFusion, which is a nightmare! Let that "language" die
<cfscript>
function Sum(a, b) {
var sum = a + b;
return sum;
}
</cfscript>
This seems all-right-ish at first glance (to say which, of course, I temporarily lock my Lisp programmer hat in my desk with keys, which I then throw across the office to retrieve later). Are the semantic problems with CFML/CFScript (say, along the lines of the famous issues with PHP?)