Skip to main content


JavaScript Tutorial for Beginners : A Complete Guide Java was deemed unsuitable for the type of audience that would consume Mocha (pre-version of JavaScript), such as scripters, amateurs, and designers because it required a great deal of effort and time for such simple tasks. As a result, the plan was to make Java available to large, professional component writers, while Mocha would be used for small scripting tasks.