Have viewed
@propertyOrIdentifier // ? What does this mean and do?
used within apparent plain objects or class
assignment at Questions and Answers at stackoverflow.
What is the @
symbol or character in javascript
? What are valid uses?
Have viewed
@propertyOrIdentifier // ? What does this mean and do?
used within apparent plain objects or class
assignment at Questions and Answers at stackoverflow.
What is the @
symbol or character in javascript
? What are valid uses?
It doesn't have any special meaning in vanilla JS.
It's likely that wherever you are seeing it it is simply being used as a naming convention, similar to doing something like adding a preceding underscore for private variables _example