Même si on pourrait distinguer une classe d'une fonction en JavaScript, ça ne nous aiderait pas pour les classes transformées par des outils tels que Babel.
Even if we could tell a class from a function in JavaScript, this still wouldn't work for classes processed by tools like Babel.
Tout cela se fait en déclarant un objet - donc au départ une fonction en JavaScript - différemment avec une clôture, autrement dit en retournant une fonction au lieu d'une valeur.
All this is done by declaring an object - thus a function in JavaScript - differently with a closure, in other words returning a function instead of a value.
Pour cette raison, La librairie analytics.js vous permet de définir une fonction en javascript qui sera appelée à chaque détection d'un bloqueur de publicités.
For this reason, the analytics.js library allows you to define a (callback) function in JavaScript which will be called every time an ad blocker is detected.
Un fichier PAC contient une fonction en JavaScript appelée "FindProxyForURL(url, host)".
Une fonction Lambda écrite en JavaScript et tournant sur Node.js 8.1 appelée par l'API Gateway et chargée de la logique de traitement des paramètres fournis, mais aussi de la gestion des relations,
A Lambda function written on Javascript and running on Node.js 8.1, systematically called by the API and in charge of the logical processing of incoming parameters and also of the handling of potential relationships
Proxy auto-configuration (PAC) : spécifie les URL pour un fichier PAC avec une fonction en JavaScript qui détermine le proxy approprié pour chaque URL.
Proxy auto-configuration (PAC): Specify the URL for a PAC file with a JavaScript function that determines the appropriate proxy for each URL.
Pour définir une fonction en JavaScript, il faut (1) écrire le mot function, (2) suivi du nom que vous souhaitez donner à votre fonction.
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.