Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #18002

Re: Function definition expression has a length property?

From Stefan Weiss <krewecherl@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: Function definition expression has a length property?
Date 2013-01-07 11:26 +0100
Organization albasani.net
Message-ID <kce7s4$h9o$2@news.albasani.net> (permalink)
References <91b7a4ff-8eb7-4ef2-ac97-4e046024d5f0@googlegroups.com>

Show all headers | View raw


On 2013-01-07 11:02, Thomas Li wrote:
> Why function definition expression has a "length" property and its value is always 1?

Not just function expressions, every function object has a length
property. Its value is the number of parameters in the function definition.

- stefan

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Function definition expression has a length property? Thomas Li <cooooooder@gmail.com> - 2013-01-07 02:02 -0800
  Re: Function definition expression has a length property? Stefan Weiss <krewecherl@gmail.com> - 2013-01-07 11:26 +0100
    Re: Function definition expression has a length property? Thomas Li <cooooooder@gmail.com> - 2013-01-07 21:49 -0800

csiph-web