Progetti
Software
Formazione
Links & dritte
 
Sistemi
Elettronica
Matematica
Tai Ji Quan
Giada Adriani
 
Tesi
Appunti
Recensioni
 
Pillole
Racconti
Romanzi
Ospiti
 
Giochi
Eventi
Work-e
Ma.Ste.R.
 
Links
Cerca
Chi sono
Contatti
Mappa del sito
Arrows down Arrows up

PROTOTYPING AND REGULAR EXPRESSIONS

This page shows some simple ways to use prototyping in JavaScript: to see the JavaScript code click on the show code label below, or have a look to the HTML source of this page. The tutorial introduces also the implicit arguments and instanceof JavaScript features.

The run function (contained in this page) implements three examples:

  1. Adding the changeName method to a custom class (the dog class)
  2. Adding the adams method to the Array implicit object (starting from the array [])
  3. Testing some very simple regular expressions


   

               




Show code