Hacker News new | ask | show | jobs
by intrasight 129 days ago
What's with variable names starting with "#" as first character?
2 comments

If you are referring to class members in the JavaScript then those are private fields[1]

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

I had Googled my question too. Got no hits which is why I asked. Haven't seen it before.
That's just markdown headers. Some people like to include # as part of the header aesthetic
No, the Q was about javascript not markdown. Peer comment from afishh (9m after yours) has it right.