Ten en cuenta que, dado que los tipos en JavaScript son dinámicos, no es necesario pasar ningún parámetro opcional en el constructor, por lo que no lo haremos en este ejemplo.
Note that because JavaScript is a loosely typed language, we do not need to pass any optional parameters in the constructor, and we don't do so here.
Otra cosa que no funciona en JavaScript son los alias en las funciones, es decir, asignar un método a una variable.
Assigning Methods Another thing that does not work in JavaScript is function aliasing, which is assigning a method to a variable.
Las funciones en JavaScript son objetos de primera clase.
Sin embargo, dado que las funciones y objetos en JavaScript son diferentes de sus contrapartes en la mayoría de los lenguajes, estos serán explicados con más detalle.
However, because functions and objects in JavaScript are different from their counterparts in most other languages, these will be explained in more detail.
La única fuente para las variables locales en JavaScript son los parámetros de la función y variables que fueron declaradas vía la sentencia var.
The only source for local variables in JavaScript are function parameters and variables declared via the var statement.
Los principales elementos que incluyen JavaScript son los anuncios de terceros, así como los widgets sociales y de analítica que deben obtenerse de un servidor externo antes de cargarse.
The most common elements with JavaScript are third-party ads, and analytics and social widgets that must be fetched from an external server before they can load.
Los efectos dinámicos creados con JavaScript son ignorados (de flash ni hablamos), y el texto dentro de los gráficos tampoco será leído.
Dynamic effects such as those created by JavaScript are not taken into account, and text rendered with graphics cannot be read and parsed either.
Los elementos más comunes que utilizan JavaScript son anuncios de terceros, pequeños programas de análisis y aplicaciones de redes sociales, dado que deben recurrir a un servidor externo antes de cargar.
The most common elements with JavaScript are third-party ads, and analytics and social widgets that must be fetched from an external server before they can load.
Este concepto se conoce como hoisting; Las variables en JavaScript son en cierto sentido "elevadas" a la parte superior de la función o declaración.
This concept is known as hoisting; variables in JavaScript are in a sense "hoisted" or lifted to the top of the function or statement.
Los números en JavaScript son "de doble precisión de 64 bits en formato IEEE 754", de acuerdo con la especificación.
Numbers in JavaScript are "double-precision 64-bit format IEEE 754 values", according to the spec.
Las fechas en JavaScript son objetos, son enviadas a 4D como texto que contiene su forma JSON como cualquier otro objeto.
Since dates in JavaScript are objects, they are sent to 4D as text containing their JSON form like any other object.
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.