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.
Le moteur JavaScript appelle la méthode [@toPrimitive]() afin de convertir un objet en une valeur primitive.
Pour « attraper » et conserver des valeurs, JavaScript fournit un mécanisme appelé la variable.
To catch and hold values, JavaScript provides a thing called a variable.
On peut faire maintenant AS.maroutime(v1,v2,...) depuis JavaScript pour appeler la routine AppleScript maroutime qui doit exister soit dans le contexte de Smile soit dans le script de la web window.
Now you can use AS.myfunc(v1,v2,...) from JavaScript to call your AppleScript handler myfunc. myfunc must exist either in the context of Smile or in the script of the web window.
Une fonction JavaScript est appelée à la suite d'un événement.
Le préfixe indique au moteur JavaScript l'objet appelé par la méthode ou l'attribut.
The prefix tells the JavaScript engine which object you are calling the method or attribute on.
Le code C# va avoir besoin de faire appel à JavaScript pour la multiplication après avoir calculé la somme.
The C# code will need to call back to JavaScript to perform the multiplication after computing the sum.
J'ai décidé de créer un utilitaire de type cUrl pour récupérer une ressource et exécuter le code JavaScript sur la page appelée domcurl.
I decided to create a cUrl-like utility for fetching a resource and running the JavaScript on the page called domcurl.
La fonction start(), dans le code JavaScript, est appelée quand la page est chargée.
The start() function, in our JavaScript code, is called after the document is loaded.
Pour mesurer cet événement, il existe énormément de méthodes différentes comme le passage par un serveur avant d'appeler la bannière, l'utilisation du JavaScript récupérant les informations au moment de l'envoi des données ou même encore des fonctions JavaScript appelées sur des événements bien précis.
To measure this event, there are many different methods, such as passing via an ad server before calling the banner, using JavaScript to retrieve information at the moment data is sent, or even JavaScript functions called on precise events.
Cet JavaScript appelle des fenêtres pop-up à partir d'un lien.
La façon la plus simple est d'utiliser une bibliothèque JavaScript appelée OpenLayers qui fournit une carte glissante que vous pouvez intégrer dans n'importe quelle page web.
The most basic and easiest for you to use is a JavaScript library called OpenLayers that provides a draggable map that you can embed on your own webpage.
Potentially sensitive or inappropriate content
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.