Toute fonction JavaScript est en fait un objet Function.
Every function in JavaScript is a Function object.
La méthode toString() lèvera une exception TypeError (« Function.prototype.toString called on incompatible object ») si la valeur this n'est pas un objet Function.
The toString() method will throw a TypeError exception ("Function.prototype.toString called on incompatible object"), if its this value object is not a Function object.
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.
Une fonction créée via une déclaration de fonction est un objet Function et possède toutes les caractéristiques (propriétés, méthodes et comportement) d'un objet Function.
A function created with the function statement is a Function object and has all the properties, methods, and behavior of Function objects.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.
Aucun résultat pour cette recherche.
Synonymes et analogies de "un objet function" en français