Thanks for the replies! I was only asking, as I accidentially typed @ into nodejs' REPL and it showed me the "..." thing...so I got confused.
I would vote for the proposal in ES7. It looks very nice to me. -- "Yo Dawg, I heard you like C++, so I added C++ to your build system, so you have to compile before you compile." -StackOverflow, Matt Joiner ( http://stackoverflow.com/a/5025525/2423150 ) Am 19.05.2014 um 17:46 schrieb Rick Waldron <[email protected]>: > Nothing as of yet, but there are proposals for ES7 to use it as a private > property prefix: > > > function Foo() { > this.@privy = true; > this._privy = false > } > > var foo = new Foo(); > > foo; > > { _privy: false } <-- no access to @privy property > > > Rick > > > > > On Mon, May 19, 2014 at 4:09 AM, Kevin Ingwersen <[email protected]> > wrote: > Hey. > > Short question; what is the @ operator used for in JS? > in PHP, its the "silence errors" operator. > > Kind regards, Ingwie. > > > -- > "Yo Dawg, I heard you like C++, so I added C++ to your build system, so you > have to compile before you compile." -StackOverflow, Matt Joiner ( > http://stackoverflow.com/a/5025525/2423150 ) > > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/CA2C2220-BD0E-49FB-B027-746D3D74CA87%40googlemail.com. > For more options, visit https://groups.google.com/d/optout. > > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/CAHfnhfpm6JvNuEQA2wOmCtXJ7Bnq_Z4n%2BTyqRpcnzbvVZLAmmg%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/2F0014E4-17C1-4BA0-AE72-D2474112F509%40googlemail.com. For more options, visit https://groups.google.com/d/optout.
