Unity uses a custom version of JavaScript, also known as UnityScript, which it is historically and still commonly (but inconsistently) called "JavaScript", including, as you note in your documentation script.
This is incorrect in terms of the meaning of the term "JavaScript" in the programming world as a whole (i.e., outside the Unity community). UnityScript is definitely not JavaScript. These are incompatible languages with fundamental differences. In terms of strict compliance, yes, Unity should use "UnityScript" in its documentation.
Unity, , "JavaScript" JavaScript, Unity. , , "UnityScript" Unity, "JavaScript" , , , - Unity , t , Unity JavaScript, JavaScript.
Unity, , Stack Overflow, "JavaScript" , JavaScript, , "UnityScript" .
, Unity , Unity, , . 5 "JavaScript", "UnityScript" .