Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29096
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: array-like objects |
| Date | 2016-01-02 01:30 +0100 |
| Organization | PointedEars Software (PES) |
| Message-ID | <1656357.Svvq5yUOXB@PointedEars.de> (permalink) |
| References | <array-like-20160101185345@ram.dialup.fu-berlin.de> <n66gli$lpt$2@dont-email.me> |
Aleksandro wrote: ^^^^^^^^^^ Your last name belongs there as well. > On 01/01/16 15:11, Stefan Ram wrote: >> So, the only thing we require for an object to be »array-like« >> is a length property with an appropriate value? > > Sounds reasonable as Javascript is considered a duck typed language. > https://en.wikipedia.org/wiki/Duck_typing There is no “Javascript”. _ECMAScript implementations_ are _not_ “duck typed language[s]”; instead, most of them support dynamic type-checking (often misnamed “loose typing”). “Duck typing” is a programming technique instead that can be used with programming languages that support dynamic type-checking, but also with other programming languages. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not cc me. / Bitte keine Kopien per E-Mail.0
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: array-like objects Aleksandro <aleksandro@gmx.com> - 2016-01-01 15:33 -0300
Re: array-like objects Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-01-02 01:30 +0100
Re: array-like objects Aleksandro <aleksandro@gmx.com> - 2016-01-01 22:19 -0300
Re: array-like objects Tim Streater <timstreater@greenbee.net> - 2016-01-02 08:29 +0000
Re: array-like objects Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-01-02 10:46 +0100
csiph-web