on-internet
← Community

What does /// (triple slash) do in JavaScript?

Stack Overflow ·

I was adding some comments to my code using Notepad++, and instead of typing //check for null I accidentally typed ///check for null. I noticed that this caused my text to be colored differently, so presumably it has a different function. When I tried to Google it, Google seemed to replace my javascript /// with just javascript. So, my question: What does /// do in JavaScript? Also, this is not a duplicate of this question because that question is about C++, I'm talking about Javascript.

Comments

Sign in or sign up to comment and upvote.

No comments yet.