Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #23160
| Message-ID | <1491187.Ij1fQ0n7LW@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2014-02-20 10:40 +0100 |
| Subject | Re: Trying to understand this code snippet: httpApp.use(express.static(__dirname + "/static/")); |
| Newsgroups | comp.lang.javascript |
| References | <9d11d0fb-0dae-40df-aa74-628344769b41@googlegroups.com> |
reginald.bal@gmail.com wrote: > Regardless of the context from which I retrieved this code snippet I would > like to understand following language construct. > > httpApp.use(express.static(__dirname + "/static/")); > > Am I right to say that a function httpApp.use is called with as argument > the function express.static which on its turn uses the argument (__dirname > + "/static/")? No. > Where can I find more information/explanation of this basic JavaScript > concept? <http://PointedEars.de/faq> pp. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Trying to understand this code snippet: httpApp.use(express.static(__dirname + "/static/")); reginald.bal@gmail.com - 2014-02-20 01:16 -0800 Re: Trying to understand this code snippet: httpApp.use(express.static(__dirname + "/static/")); Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-02-20 10:40 +0100 Re: Trying to understand this code snippet: httpApp.use(express.static(__dirname + "/static/")); JJ <duh@nah.meh> - 2014-02-20 17:56 +0700
csiph-web