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


Groups > comp.lang.javascript > #14829

Re: FAQ Topic - What is (function(){ /*...*/ })() ? (2012-07-03)

Newsgroups comp.lang.javascript
From Spamless <Spamless@Nil.nil>
Subject Re: FAQ Topic - What is (function(){ /*...*/ })() ? (2012-07-03)
References <4ff227fa$0$283$14726298@news.sunsite.dk>
Message-ID <XpmdnckTh7Rr8G_SnZ2dnUVZ_vGdnZ2d@inch.com> (permalink)
Date 2012-07-02 22:58 -0500

Show all headers | View raw


On 2012-07-02, FAQ server <javascript@dotinternet.be> wrote:
> -----------------------------------------------------------------------
> FAQ Topic - What is (function(){ /*...*/ })() ?
> -----------------------------------------------------------------------
>
> This is an anonymous FunctionExpression that is called
> immediately after creation.

I have seen that sort of thing on a spammer page or two.
/*...*/ is ... not a regular expression ... it is just ...
a comment.

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


Thread

FAQ Topic - What is (function(){ /*...*/ })() ? (2012-07-03) "FAQ server" <javascript@dotinternet.be> - 2012-07-02 23:00 +0000
  Re: FAQ Topic - What is (function(){ /*...*/ })() ? (2012-07-03) Spamless <Spamless@Nil.nil> - 2012-07-02 22:58 -0500

csiph-web