The document compares and contrasts object-oriented programming concepts between JavaScript and ActionScript 3. Some key differences include:
- JavaScript uses prototypes instead of classes for inheritance and does not have keywords like "extends"
- Scope in JavaScript functions can be tricky due to closures
- Animation in JavaScript requires manually redrawing the entire canvas each frame rather than updating individual objects
- Interactivity on HTML5 canvas elements only occurs at the canvas level rather than on child objects