Introduction to JavaScript: Difference between revisions
From JSXGraph Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
If done this should be a really small crashcourse in javascript for users already familiar with programming. | If done this should be a really small crashcourse in javascript for users already familiar with programming. | ||
* | * [[Integrate JavaScript on webpages]] | ||
** Internal code | ** Internal code | ||
** External code | ** External code |
Revision as of 19:27, 10 July 2009
Work in progress... Just a small outline to get a general overview. Please add stuff (notfalls auch einfach in deutsch, ist ja noch nicht so richtig oeffentlich). If done this should be a really small crashcourse in javascript for users already familiar with programming.
- Integrate JavaScript on webpages
- Internal code
- External code
- Inline JavaScript
- Datatypes and variables
- Datatypes overview
- Variables declaration
- Arrays
- Implementation
- Declaration
- array as object -> properties and methods
- Anonymous arrays
- associative arrays/hashtables
- Functions
- Declaration
- Parameters
- Default values for parameters and variable length parameter lists
- return values
- callback functions
- anonymous functions
- Objects
- Class definition, object initialisation, singletons
- Prototyping concept and inheritance
- Anonymous objects
- Objects as associative arrays