Download for Windows Premium
-65% Premium
Publiciteit
objet Function
Function object
Le code qui suit crée un objet Function recevant deux paramètres.
The following code creates a Function object that takes two arguments.
Les liaisons sont assurées comme d'habitude par l'objet Function.
The links are provided as normal by the Function object.
Pour appeler l'objet Function, on peut utiliser le nom de la variable comme une fonction.
To call the Function object, you can specify the variable name as if it were a function.
Bien que l'objet Function ne fournisse aucune méthode de lui-même, il hérite de méthodes au travers de la chaîne de prototypes.
Although the Function object does not provide any methods of its own, it does inherit methods through the prototype chain.
Les fonctions sont des objets, en tant que tels, elles possèdent des méthodes (voir la page sur l'objet Function).
It turns out that functions are, themselves, objects, and these objects in turn have methods (see the Function object).
Pour plus d'informations, voir l'article sur la propriété prototype de l'objet Function de la référence JavaScript.
See the prototype property of the Function object in the JavaScript reference for more information.
Le constructeur Function crée un nouvel objet Function.
The Function constructor creates a new Function object.
Voir la page sur l'objet Function dans la référence JavaScript pour plus d'informations.
See the Function object in the JavaScript reference for more information. Function parameters
En JavaScript, chaque fonction est un objet Function.
In JavaScript every function is actually a Function object.
Résumé Chaque fonction en JavaScript est en réalité un objet Function.
Summary Every function in JavaScript is actually a Function object.
Puis à l'intérieur de cet objet Function, nous appellerons un Observable qui diffusera un String ( I love OpenClassrooms !
Then, within that Function object, we'll call an Observable that will emit a String ( I love OpenClassrooms!
Une autre façon de définir des fonctions est d'utiliser le constructeur de l'objet Function afin de créer des fonctions à partir d'une chaîne lors de l'exécution, de la même façon que eval().
In addition to defining functions as described here, you can also use the Function constructor to create functions from a string at runtime, much like eval().
Le moteur JavaScript appelle la méthode toString automatiquement lorsqu'un objet Function doit être représenté textuellement (par exemple lorsqu'une fonction doit être concaténée avec une chaîne de caractères).
JavaScript calls the toString method automatically when a Function is to be represented as a text value, e.g. when a function is concatenated with a string. Specifications Specification
Er zijn geen resultaten gevonden voor deze term.
Ga naar Premium voor toegang tot miljoenen vertaalvoorbeelden, onbeperkt woorden opslaan en leren, zonder advertenties.

Synoniemen voor objet Function in het Frans

Publiciteit

Suggesties

Resultaten: 14. Exact: 14. Verstreken tijd: 25 ms.