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


Groups > comp.lang.javascript > #22805

Re: Waht means $ before a variable or funcion?

From Olaf Schmitt <thesys@gmx.de>
Newsgroups comp.lang.javascript
Subject Re: Waht means $ before a variable or funcion?
Date 2014-01-26 20:00 +0100
Organization albasani.net
Message-ID <lc3m00$bf6$1@news.albasani.net> (permalink)
References <lc3iod$5k6$1@news.albasani.net> <52e55301$0$6668$9b4e6d93@newsspool2.arcor-online.net>

Show all headers | View raw


Am 26.01.2014 19:25, schrieb Martin Honnen:
> Olaf Schmitt wrote:
>
>> Sometimes is see $('variable') = ....
>> Or $function ....
>>
>> What does this $ mean?
>
> The code
>    $('variable')
> is a function call where the name of the function is "$" and the single
> argument is a string literal 'variable'. Some frameworks define a
> function named "$".
I thought, it was something special :-)

>
> In the code
>    $function
> the "$function" is an identifier starting with the "$" sign followed by
> the word "function". That is a legal identifier but has no special meaning.

Thank you!

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


Thread

Waht means $ before a variable or funcion? Olaf Schmitt <thesys@gmx.de> - 2014-01-26 19:05 +0100
  Re: Waht means $ before a variable or funcion? Martin Honnen <mahotrash@yahoo.de> - 2014-01-26 19:25 +0100
    Re: Waht means $ before a variable or funcion? Olaf Schmitt <thesys@gmx.de> - 2014-01-26 20:00 +0100
      Re: Waht means $ before a variable or funcion? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-01-26 20:29 +0100

csiph-web