What is JavaScript
History
JavaScript, a scripting programming language, was originally created by Brendam Eich in just 10 days. It plays a fundamental role in the technologies of the WWW. In 2022, 98% of websites use JavaScript. It is a high-level (just-in-time compiled) language. JavaScript conforms the EcmaScript standards.
Characteristics
Some of the most relevant characteristics of the language are:
- Dynamic and weakly typing
- prototype-bases object orientation
- First class functions
Moreover, JavaScript is versatile in terms of programming paradigms. It can be used in various styles:
- Event-driven
- functional
- Imperative
- Programming Object-Oriented (more or less)
- Prototype-based programming
IMPORTANT JavaScript doesn’t support I/O operations by itself. It requires the runtime system provide this functionality.
Other uses
JavaScript has application in diverse domains:
- Web Browser
- Server side (node.js, bun.sh, deno)
- Multi-plataform JavaScript is employed in building desktop and mobile
applications with frameworks such:
- Desktop:
- Electron
- Mobile:
- Cordoba/ionic
- React Native
- Desktop:
- Specific desktop applications:
- Gnome-shell
- Some LSP (language server protocol)
Reference links: