Mais il y a une autre raison pour laquelle JavaScript est rapide et un excellent choix côté serveur.
But there is another reason why JavaScript is fast and an excellent server-side choice.
Il existe une perception selon laquelle JavaScript est désordonné et encourage les mauvaises habitudes de codage, car il n'applique pas les règles aussi strictement que la plupart des autres langages de codage.
There is a perception that JavaScript is untidy and encourages bad coding habits, because it doesn't enforce rules as strictly as most other coding languages.
Force un nombre à afficher en notation exponentielle, même si le nombre est dans la plage dans laquelle JavaScript utilise normalement la notation standard.
Forces a number to display in exponential notation, even if the number is in the range in which JavaScript normally uses standard notation.
Other results
C'est parfois la raison pour laquelle les traductions Javascript prennent quelques secondes pour remplacer le texte source original.
This is sometimes the reason that Javascript translations take a few seconds to replace the original source text.
Pour nous, il est important que les gens trouvent rapidement ce qu'ils cherchent, c'est la raison pour laquelle nous utilisons Javascript.
L'API format=json accepte un paramètre callback dont la valeur est une fonction JavaScript dans laquelle la sortie JSON sera empaquetée.
The API's format=json accepts a callback parameter, whose value is a JavaScript function which the JSON result will be wrapped in.
À la fin de cet article, nous proposons une convention dans laquelle un programme JavaScript non trivial dans une page web peut déclarer l'URL de l'emplacement de son code source, ainsi que sa licence, en utilisant des commentaires stylisés.
At the end of this article we propose a convention by which a nontrivial JavaScript program in a web page can state the URL where its source code is located, and can state its license too, using stylized comments.
La deuxième partie crée la fonction immédiatement exécutable (), à travers laquelle le moteur JavaScript interprétera directement la fonction.
The second part creates the immediately invoked function expression () through which the JavaScript engine will directly interpret the function.
La solution que nous vous présentons ici est une simple balise <textarea> HTML qui affiche les informations, ainsi qu'une fonction log() construite dans JavaScript à laquelle vous pouvez transmettre des chaînes de texte ou des variables.
The solution presented here consists of a simple HTML <text area> tag to display the information, and a log() function built in JavaScript that you can pass text strings or variables to.
Exécute JavaScript dans la fenêtre à laquelle les devtools sont attachés.
Executes JavaScript in the window that the devtools are attached to.
Sélectionnez l'image à laquelle vous souhaitez ajouter du code JavaScript.
Prototype est un objet dans javaScript à partir de laquelle d'autres objets héritent des propriétés.
Prototype is an object in javaScript from which other objects inherit properties.
Exemple montrant une page sur laquelle on a appliqué du CSS et du JavaScript.
Example showing a page with CSS and JavaScript applied to it.
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.