Theorie Javascript Flashcards
Javascript is a …
- weakly typed
- object-based
- dynamic
- mulit-paradigm
…scripting language
Every browser on every OS runs
… JS
Wikipedia lists 40 environments for “Uses outside Web pages”
And that is because…
…
- JS is small and lightweight
- JS runs inside hose environments
Wikipedia lists 40 environments for “Uses outside Web pages”.
Typical uses are:
- embedded Scripting Language (JS inside Applications)
- Scripting Engine (JS on OS level)
- Application platform (JS as the main programming language)
Client-side JS?
control of a browser and the DOM
eg. Webrosers
Server-side JS?
control of objects relevant for servers
eg. Node.js
Mobile Platforms
control of native APIs
eg. Apache Cordova/Phonegap
What is ECMAScript
is a Standard for scripting languages
Javascript is based..
on the ECMAScript standard
ECMA International
European association for standardizing information and communication systems
the ECMAScript spec is not for …
app developers, but for language implementors!
specification != Documentation
companies can use the open standard language to develop their…
own implementation
ECMAScript is also approved by…
the ISO
Assignment
=
e.g. a = 41
math
*
/
e.g.: a+1