What does @ xxx in js mean?

problem description

for example, the following code:

@one()
class FaqDetail extends Component {}
What does this mean by asking for a detailed explanation? What does it do? why should there be a comment on the class?

Mar.29,2021

decorator, just some time ago, I wrote an article:
https://codeshelper.com/a/11.

.

you can take a look at:)

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be58c9-304cf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be58c9-304cf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?