Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.javascript > #7984
| Newsgroups | it.comp.lang.javascript |
|---|---|
| Date | 2016-01-24 12:33 -0800 |
| References | (5 earlier) <dgk4haFb88lU2@mid.individual.net> <fd65564f-14a2-4638-9727-d09f149e5c89@googlegroups.com> <dgka5vFb88lU3@mid.individual.net> <64620880-75cb-4a43-bb17-82a05aed76f1@googlegroups.com> <n837a9$i2g$1@dont-email.me> |
| Message-ID | <a843c689-b78e-4242-82a3-b655100709ad@googlegroups.com> (permalink) |
| Subject | Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() |
| From | albaserver@gmail.com |
Il giorno domenica 24 gennaio 2016 20:08:33 UTC+1, 4ndre4 ha scritto:
> Fai un override della metodo toString()
>
> YourObject.prototype.toString = function() {
> return this.yourText;
> };
Pensa che ho aperto il gruppo per aggiungere: a meno che non sovrascriva toString() con un metodo ad hoc :)
Grazie a entrambi, ho imparato qualcosa di nuovo!
Back to it.comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar
oggetto.nomeFunzione("stringa").operaSullaFunzione() alcaseltzer <albaserver@gmail.com> - 2016-01-23 13:17 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() Alessandro Pellizzari <shuriken@amiran.it> - 2016-01-24 06:59 +0000
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() albaserver@gmail.com - 2016-01-24 02:06 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() albaserver@gmail.com - 2016-01-24 02:26 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() Alessandro Pellizzari <shuriken@amiran.it> - 2016-01-24 13:33 +0000
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() albaserver@gmail.com - 2016-01-24 05:48 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() Alessandro Pellizzari <shuriken@amiran.it> - 2016-01-24 14:14 +0000
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() albaserver@gmail.com - 2016-01-24 06:28 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() 4ndre4 <4ndre4@4ndre4.com.invalid> - 2016-01-24 14:52 +0000
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() Alessandro Pellizzari <shuriken@amiran.it> - 2016-01-24 15:50 +0000
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() albaserver@gmail.com - 2016-01-24 10:45 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() 4ndre4 <4ndre4@4ndre4.com.invalid> - 2016-01-24 19:08 +0000
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() albaserver@gmail.com - 2016-01-24 12:33 -0800
Re: oggetto.nomeFunzione("stringa").operaSullaFunzione() 4ndre4 <4ndre4@4ndre4.com.invalid> - 2016-01-24 13:56 +0000
csiph-web