Because an object has a single associated prototype, JavaScript cannot dynamically inherit from more than one prototype chain.
Debido a que un objeto tiene un solo prototipo asociado, JavaScript no puede heredar dinámicamente de mas de una cadena de prototipos.
Object prototypes Prototypes are the mechanism by which JavaScript objects inherit features from one another, and they work differently to inheritance mechanisms in classical object-oriented programming languages.
Los prototipos son el mecanismo por el cual los objetos en JavaScript heredan características entre si, y funcionan de manera distinta a los mecanismos de herencia de los lenguajes de programación orientada a objetos clásicos.
Prototype is an object in javaScript from which other objects inherit properties.
At this point you should understand JavaScript object and OOP basics, prototypes and prototypal inheritance, how to create classes (constructors) and object instances, add features to classes, and create subclasses that inherit from other classes.
En este punto debe entender los conceptos básicos de objetos JavaScript y POO, prototipos y herencia de prototipos, cómo crear clases (constructores) e instancias de objetos, añadir características a las clases y crear subclases que heredan de otras clases.
To define a hub, we only need a class that inherits from the Hub class and SignalR will do the rest. It will discover (by using reflection) all the different hubs in the current assembly and generate the corresponding javascript.
Para definir un hub, solamente necesitamos una clase que herede de la clase Hub y SignalR hará el resto, es decir, descubrir los diferentes hubs y exponerlos al cliente.
A natural child can inherit from both parents, depending on the laws.
Un hijo natural puede heredar de ambos padres, dependiendo de las leyes.
In JavaScript, arguments are passed by value to a function.
En JavaScript, los argumentos se pasan por valor a una función.
The game runs in your browser and is written in Javascript.
El juego se ejecuta en tu navegador y está escrito en Javascript.
They were not entitled to inherit from their parents or husbands.
No tenía derecho a heredar de sus padres ni de su esposo.
This section explains how to write your own functions in JavaScript.
En esta sección se explica cómo escribir sus propias funciones en JavaScript.
That's the smile our kid is going to inherit from you.
Esa es la sonrisa que nuestro hijo va a heredar de ti.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.