En JavaScript, on peut déclarer de nouvelles variables grâce à l'un de ces trois mots-clés : let, const, ou var.
Variables New variables in JavaScript are declared using one of three keywords: let, const, or var.
En sélectionnant des éléments dans JavaScript, on peut préciser un attribut clé/valeur pour s'assurer que seulement les éléments DOM de la source présumée de confiance, sont pris en compte.
When selecting elements in JavaScript, one can specify an attribute key/value to ensure only DOM elements from the intended trusted source are considered.
Ce n'est plus possible depuis PHP 5, et par ailleurs, comme montré dans la section JavaScript, on peut faire mieux avec Node.js.
It is no longer possible since PHP 5, and also, as shown in the JavaScript section, we can do better with Node.js.
En JavaScript, on peut récupérer cette information grâce à la propriété HTMLInputElement.value.
You can retrieve this using the HTMLInputElement.value property in JavaScript.
Grâce à cette implémentation, avec très peu de code Javascript, on peut faire toutes sortes de manipulation d'une page graphique SVG par des commandes issues d'un serveur.
Thanks to this implementation, with a little bit of JavaScript code, we can make any manipulation of a graphic SVG page through commands stemming from a server.
Grâce à cette implémentation, avec très peu de code Javascript, on peut faire toutes sortes de manipulation d'une page graphique SVG par des commandes issues d'un serveur.
Thanks to this implementation, with a short piece of Javascript, we can make many transformation of a graphic SVG page by commands obtained from a server.
Les options étant sérialisées en JSON pour être facilement récupérées en Javascript, on peut donc les modifier facilement après que le JSON a été généré.
Settings are JSON serialized to be easily retrieved by Javascript, so we can filter the JSON after it has been generated.
En JavaScript, on peut ajouter des propriétés lors de l'exécution et on peut utiliser des propriétés qui ne seraient pas définies par le constructeur.
Note : L'opérateur du tableau (les crochets) est aussi utilisé pour accéder aux propriétés du tableau (en effet les tableaux sont des objets en JavaScript, et on peut donc utiliser leurs propriétés).
Note: the array operator (square brackets) is also used for accessing the array's properties (arrays are also objects in JavaScript).
Deux vidéos montrant comment avec JavaScript et WebGL on peut avoir un media player affichant des fractales aussi vite qu'un logiciel local.
Two videos showing how JavaScript and WebGL can make a media player that displays fractal as fast as a desktop software.
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.