Languages

JavaScript - why can I add custom field to function

3 points
Asked by:
Imaan-Morin
1009

Can someone explain to me why can I add custom field to a function and doesn't get any errors?

For example:

1 answer
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join