On Mon, May 19, 2014 at 4:16 PM, Mariano Pardo <[email protected]>wrote:
> In ES6 proposal, you can use @ for annotations. > Presumably you're referring to this: https://github.com/google/traceur-compiler/wiki/LanguageFeatures#annotations-experimentalNote that this "feature" has no official strawman. A great example is the DI from angular 2 ( > https://www.npmjs.org/package/ng-annotate). > These are just comment-based annotations. Rick > > Mariano > > > On Mon, May 19, 2014 at 12:46 PM, Rick Waldron <[email protected]>wrote: > >> 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<https://groups.google.com/d/msgid/nodejs/CA2C2220-BD0E-49FB-B027-746D3D74CA87%40googlemail.com?utm_medium=email&utm_source=footer> >>> . >>> 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<https://groups.google.com/d/msgid/nodejs/CAHfnhfpm6JvNuEQA2wOmCtXJ7Bnq_Z4n%2BTyqRpcnzbvVZLAmmg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> 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/CACgk%2BLyXB5AkL_QiAjm0JR951bRZ7K6e%3DZsJAVkTSnNAGVoskw%40mail.gmail.com<https://groups.google.com/d/msgid/nodejs/CACgk%2BLyXB5AkL_QiAjm0JR951bRZ7K6e%3DZsJAVkTSnNAGVoskw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > 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/CAHfnhfpo-Hm_vuW9EDXoABtY0Hbsu76RxZZ2eRpFBmLg1QNQfA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
