Must be able to assemble components like plug-ins and images in web pages.
Must be a lightweight scripting language.
Must run in the browser environment itself and the code included in the markup of the website.
Must complement Java.
Easy to learn and use by web developers and amateur programmers.
Even further improvements meant that JS was able to handle server-side scripts and computing and also used in developing native and stand-alone applications instead of being only restricted to the browser environment. Also JacvaScript has a relatively high speed of execution though not as fast as C or Rust.