User Tools

Site Tools


jsfn:invoking_functions_traditionally

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
jsfn:invoking_functions_traditionally [2016/01/27 22:47] – created leojsfn:invoking_functions_traditionally [2016/01/27 23:00] (current) leo
Line 6: Line 6:
  
 Il existe quatre façons d'invoquer une fonction : Il existe quatre façons d'invoquer une fonction :
-  - en temps que fonction : ma_fonction(a,b) // invocation traditionnelle +  - en temps que fonction : ma_fonction(a,b) -> invocation traditionnelle 
   - en temps que méthode (en temps que propriété d'un objet)   - en temps que méthode (en temps que propriété d'un objet)
   - en temps que constructeur   - en temps que constructeur
Line 29: Line 29:
 } }
 </code> </code>
 +
 +==notes==
 +
 +**return** est aussi une fonction !
jsfn/invoking_functions_traditionally.1453931259.txt.gz · Last modified: 2016/01/27 22:47 by leo