A question about Unity script

Hello, my question is how Unity script differs from regular java-script.
Ive read a lot of comments on how the variation of java script unity uses is very different from the regular java script. Now I’m not a particularly apt programmer, in fact, what I’ve done with Unity is the first programming I’ve ever done.
I just want to know how different it would be if I were to try to program something in java script.
Thanks

UnityScript is basically the JavaScript syntax that you use to make calls to the functions of Unity.

I took a Web Based JS class and understood a lot about Unity when I started.

Unityscript is a lot like JScript.NET. It used to be nearly identical, however Unity 3 added some things like generics which JScript doesn’t have (last I heard). Unityscript is only superficially like web Javascript…there are many differences, such as classes vs prototype, variables are statically typed rather than dynamically typed (mostly…using “#pragma strict” will enforce that), etc. See here for some info about Unityscript (also here specifically for Javascript/Unityscript differences).

–Eric