In JavaScript, any function can be added to an object in the form of a property.
En effet, en JavaScript, toute fonction associée à un objet est également une propriété.
You can not declare a variable like in JavaScript with var.
In JavaScript, variables are created using the var keyword.
In JavaScript, an undefined value is false in a test, allowing to test the instance variable even before having initialized it.
Dans JavaScript, une valeur non définie est considérée comme fausse dans un test, ce qui permet de tester la variable d'instance avant même de l'avoir initiée.
In JavaScript, the escape character allows for the inclusion of quotes in strings.
En JavaScript, le caractère d'échappement permet d'inclure des guillemets dans les chaînes.
In JavaScript, a function can be defined based on a condition.
En JavaScript, une fonction peut être définie selon une condition.
In JavaScript, as mentioned above, functions are able to have properties.
En JavaScript, comme mentionné ci-dessus, les fonctions peuvent avoir des propriétés.
In JavaScript, this can be accomplished with the use of a getter.
En JavaScript, il est possible de faire cela en utilisant un accesseur.
In JavaScript, syntactic sugar allows for cleaner and more concise array manipulations.
En JavaScript, le sucre syntaxique permet des manipulations de tableaux plus propres et concises.
In JavaScript, an array is an object that has special properties.
En JavaScript, un tableau est un objet disposant de propriétés particulières.
In JavaScript, super refers to the parent class constructor.
En JavaScript, super fait référence au constructeur de la classe parente.
In JavaScript, parameters of functions default to undefined.
En JavaScript, par défaut, les paramètres des fonctions vaudront undefined.
In JavaScript, there's always a global object defined.
En JavaScript, un objet global est toujours défini.