Digamos que quieres obtener un dato del objeto JavaScript devuelto por JSON.parse y pongas el objeto JavaScript con la variable parsed.
Let's say you want to grab data from the JavaScript object returned from JSON.parse and let's say you put that JavaScript object into the variable "parsed".
Muchos métodos en el objeto Javascript Array son diseñados para ser generalmente llamados para todos los objetos que "parecen" Arrays.
Many methods on the JavaScript Array object are designed to be generally applied to all objects which "look like" Arrays.
Suponiendo que en tu web utilizas el script Google Analytics por defecto, el cual define el objeto JavaScript ga, lo que tienes que hacer es meter la siguiente línea después de incluir el código de rastreo
Assuming that in your website you use the Google Analytics script by default, which defines the JavaScript object ga, what you have to do is put the following line after including the tracking code
Alte rezultate
Compruebe que el objeto al que Javascript hace referencia esté nombrado en el código.
extiende el objeto String de Javascript con algunas funciones útiles.
extend the JavaScript String object with a few useful functions.
Cuando representas fechas, la mejor elección es usar el objeto Date incorporado en JavaScript.
When representing dates, the best choice is to use the built-in Date utility in JavaScript.
Dado que no hay un método estándar para hacer esto, Mozilla proporciona la misma funcionalidad en el objeto global XMLHttpRequest de JavaScript.
Since there is no standard method of doing this, Mozilla provides the same functionality in the global JavaScript XMLHttpRequest object.
Solo déjalo como "indexOf - método para el objeto String en JavaScript".
Just leave it as "indexOf - method for the String object in JavaScript".
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple