Introduction to JavaScript

From JSXGraph Wiki
Jump to navigationJump to search

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 JavaScript
    • External JavaScript
    • 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